Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

equivavent of getstore function with LWP::Useragent

Status
Not open for further replies.

defdefdef

Technical User
Jul 4, 2005
19
0
0
FR
Hi,

I use the function getstore($url,$file) of LWP::Simple.
is somebody know the equivalent function with LWP::UserAgent and HTTP::Request (because I need to identify myself and I can't do it with LWP::Simple) ?

thanks,
 
Hi defdefdef,

The whole point of LWP::Simple is to take some of the most common tasks and code them so that they are simple. So there is no function equivalent of LWP::Simple's getstore.

However, just look at the source to LWP::Simple and you can extend the capability of that function yourself:


It's only like 8 lines of code, so it's not even all that complicated.

- Miller
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top