Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by vroom (His Eminence)
on Jan 11, 2000 at 02:07 UTC ( [id://1950]=note: print w/replies, xml ) Need Help??


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

Use LWP::Simple which you may have to get off of CPAN.

Then all you have to do is something like:

use LWP::Simple; $webpage=get "http://www.perlmonks.org";
  • Comment on Re: How can my script retrieve the contents of an existing webpage?
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1950]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-25 10:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found