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 not use libcurl and 'curl binding of perl' in this case. 
> 
> I think pm of 'Socket' can not do that, it is for building a
> communication among server and client those two belong to us but not
> the server belong to "somebody else"-'es a webserver. 

Socket or IO::Socket doesn't care where is the client and where the 
server. You can use both to connect to a program that runs on the 
same computer, on a computer in the same rack, the same building or 
halfway across the world.

In either case these modules are too low-level, you'd better use LWP. 
Either LWP::Simple or LWP::UserAgent, depends on your needs ... if 
you need more detailed control, use the LWP::Agent.

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


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


Reply via email to