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

Re: From bash to perl

by BUU (Prior)
on Nov 08, 2006 at 01:57 UTC ( [id://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.

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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://582760]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (10)
As of 2024-04-18 15:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found