Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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

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?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2015-10-04 20:26 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (104 votes), past polls