On Fri, 2001-12-07 at 17:19, Juan Manuel Espinoza wrote:
> How can i open a URL in PERL?

With the 'LWP' modules.  In this case, putting the HTML to Google's
front page in $content:

use LWP::Simple;
my $content = get( "http://www.google.com/"; ) or die $!; 

Hope this helps,

- ~C.
-- 
Chris Ball                 E-mail: [EMAIL PROTECTED]
Web Programmer             Web   : www.fastsearch.com
Fast Web Media Ltd         Try   : www.alltheweb.com 
12th Floor Sunlight House, Quay Street, Manchester M3 3JZ, UK.


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

Reply via email to