On Fri, 7 Dec 2001, Juan Manuel Espinoza wrote:

> How can i open a URL in PERL?
>
> open URL??

LWP::Simple has an easy way to open URLs:

use LWP::Simple;

my $URL = 'http://www.amazon.com';

my $html = get $URL;

....

You can get this from CPAN.  Or you can do more elaborate stuff using
HTTP::* modules.

-- Brett
                                          http://www.chapelperilous.net/
------------------------------------------------------------------------
The mosquito exists to keep the mighty humble.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to