Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: From bash to perl

by BUU (Prior)
on Nov 08, 2006 at 01:57 UTC ( #582760=note: print w/ replies, xml ) Need Help??


in reply to From bash to perl

You probably want LWP::Simple from the LWP distribution. LWP::Simple will export a function named "get" that takes a URI as an argument and returns the contents of that URI.

As for modules in general, you should always be searching cpan at http://search.cpan.org.


Comment on Re: From bash to perl
Replies are listed 'Best First'.
Re^2: From bash to perl
by paranoid times (Acolyte) on Nov 08, 2006 at 02:51 UTC
    Thanks I'll check into that. I've actually used that function once before but it was for sending data to a URI. I didn't know that it could be used the other way around, nifty.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2015-07-28 02:10 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 (251 votes), past polls