Re: pm for getting the content of a URL.

2007-09-19 Thread Patrik Hasibuan
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

Re: pm for getting the content of a URL.

2007-09-19 Thread Patrik Hasibuan
Dear Jenda, you thank you very much for your help. My problem has been solved because of your help. Also thank you for the further additional information about socket and lwp:;agent. On Tue, 18 Sep 2007 00:41:45 +0200 "Jenda Krynicky" <[EMAIL PROTECTED]> wrote: > From: Patrik Hasibuan <[EMAIL

Re: pm for getting the content of a URL.

2007-09-17 Thread Jenda Krynicky
From: Patrik Hasibuan <[EMAIL PROTECTED]> > Dear my friends... > > I want to get a content of a URL (like curl does). Which pm can I use? > > I'm facing a development restriction that my perl-code is going to be > run on a webhosting company'es server and I do not have libcurl there > so I can no

pm for getting the content of a URL.

2007-09-17 Thread Patrik Hasibuan
Dear my friends... I want to get a content of a URL (like curl does). Which pm can I use? I'm facing a development restriction that my perl-code is going to be run on a webhosting company'es server and I do not have libcurl there so I can not use libcurl and 'curl binding of perl' in this case.

Re: pm for getting the content of a URL.

2007-09-17 Thread Chas Owens
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";;