.... There is a package LPW. Shold be in the standard distribution of perl, anyhow you can dowload from CPAN
Ex1. use LWP::Simple; $data = get("http://$host/"); print "$data\n"; Ex2. use LWP::UserAgent; $cnt="http://$host/"; $agente=new LWP::UserAgent; $rqs=new HTTP::Request('GET',$cnt); $data=$agente->request($rqs); print $data->content."\n"; The UserAgent class permits to do a POST request, and to see the response even if not well formed. Walter > Hi all, > > I'm trying to read an html file from an URL. > > It seems Open(FL,"http://www.somesite.com/afile.html") doesn't work. > > Does anyone know how I can read this file? > > Thanks, > > Paul van Dijk > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]