Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: LWP help

by mzedeler (Pilgrim)
on Jun 27, 2009 at 12:32 UTC ( [id://775300]=note: print w/replies, xml ) Need Help??


in reply to Re^2: LWP help
in thread LWP help

Short answer: no.

LWP doesn't return the document you request, but a response object which - in turn - has an attribute with the content. There is an example on the main documentation page of LWP.

LWP will fetch anything you ask it to fetch for you, and let you access it using the content attribute - regardless of what it fetched for you. With regard to your idea about regular expressions: it doesn't work that way - try playing around with LWP a little first.

By the way: I think you'll be able to ask much better questions if you try things by yourself first, and ask later.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-03-28 15:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found