Re: libwww-perl

Carlos Ramirez (ramirezc@roses.bna.boeing.com)
Thu, 01 Oct 1998 09:35:10 -0700


You should use LWP modules.
Here's a sample script that will do what you want:

use LWP::Simple;

$url = 'http://library.advanced.org/11056/index/html';

$webpage = get $url;






Poya Golriz wrote:

> hello,
> I am new to perl socket programming. I want to be able to retrieve HTML
> documents through a CGI script. for example, I want to be able to
> capture the content of the
> "HTTP://library.advanced.org/11506/index.html" file, using a perl CGI
> script.
> Can you tell me how I would go about doing that? are there any website
> or libraries and examples I can download to learn HTTP socket
> programming via perl?
>
> thank you.
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com