Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Answer: How can my script retrieve the contents of an existing webpage?

by furtive (Initiate)
on Sep 02, 2001 at 20:42 UTC ( #109748=categorized answer: print w/replies, xml ) Need Help??

Q&A > HTTP and FTP clients > How can my script retrieve the contents of an existing webpage? - Answer contributed by furtive

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"

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2017-03-01 21:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (429 votes). Check out past polls.