How do I retrieve content of a website in perl?
That is given an url say google.com, I want a function get so that
$text = get($url);
$text should contain the content of google.com/index.htm
ithelp
757
Posting Virtuoso
Banned
Recommended Answers
Jump to PostYou could use the wget Unix utility in combination with Perl to do this. Even if you don't have a Windows port of it you could use this: http://pages.interlog.com/~tcharron/wgetwin.html. Just call it with …
All 3 Replies
Mushy-pea
36
What, you can change this tag?
KevinADC
192
Practically a Posting Shark
devesh9392
-1
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.