Welcome to the Monastery | |
PerlMonks |
Re: How can my script retrieve the contents of an existing webpage?by furtive (Initiate) |
on Sep 02, 2001 at 20:42 UTC ( [id://109748]=note: print w/replies, xml ) | Need Help?? |
In reference to vroom's code above, the correct syntax should be: $webpage=system("lynx -source http://blah.com");This is necessary since it is the shell that runs Lynx. Otherwise, $webpage would literaly be lynx -source http://blah.com"
In Section
Seekers of Perl Wisdom
|
|