Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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.

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?
[Corion]: A good morning everybody!
Corion watches with pleasure that Future::AsyncAwait now also works on 5.16. I think 5.14 is a good baseline for "modern" Perl, and that's only one release away from 5.16
[Corion]: (and I really like the async and await keywords as they do away with lots of anonymous subroutines)

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2018-01-24 08:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (256 votes). Check out past polls.

    Notices?