On 9/17/07, Patrik Hasibuan <[EMAIL PROTECTED]> wrote:
snip
> I want to get a content of a URL (like curl does). Which pm can I use?
snip

You probably want LWP::Simple (specifically its get function):

#!/usr/bin/perl

use strict;
use warnings;

use LWP::Simple;

my $content = get "http://3.am";;

print $content;

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to