You've solved my problem, Chas.

Thank you very...very...much. I really appreciate your help.

On Mon, 17 Sep 2007 16:39:08 -0400
"Chas Owens" <[EMAIL PROTECTED]> wrote:

> 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/
> 
> 
> 
> 


-- 
Patrik Hasibuan <[EMAIL PROTECTED]>
Junior Programmer

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


Reply via email to