Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^4: Getting more out of LWP::Simple (import it)

by Aristotle (Chancellor)
on Mar 23, 2003 at 22:44 UTC ( #245325=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Re: Getting more out of LWP::Simple
in thread Getting more out of LWP::Simple

You need to import LWP::Simple's $ua before you can use it. And because you're explicitly requesting the export of a certain symbol, you have to ask for all of the ones you need. So replace your use line with

use LWP::Simple qw($ua get);

Makeshifts last the longest.


Comment on Re^4: Getting more out of LWP::Simple (import it)
Download Code
Replies are listed 'Best First'.
Re: Re^4: Getting more out of LWP::Simple
by Anonymous Monk on Mar 24, 2003 at 12:14 UTC
    Thanks alot, it works perfectly!

    I don't know how I didn't see the other post that already explained this. I think I was googled out searching through previous usenet postings for the previous 3-4 hours looking for inspiration without any joy.

    Thanks again

    Toby

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (16)
As of 2015-07-07 19:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls