http://qs321.pair.com?node_id=582760


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.