http://www.perlmonks.org?node_id=109748


in reply to How can my script retrieve the contents of an existing webpage?

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"