parsing tables

Paul Salaberria (paultxo@hotmail.com)
Wed, 10 Mar 1999 05:09:00 PST


I am trying to extract the text out of an html file, for instance the 
title, description and URL out a directory page. I am trying 

print parse_htmlfile("index.html")->format 

the command TABLE NOT SHOWN. Does anybody have a script that would 
accomplish this.

Thanks 

Paul 


>From: Paul Salaberria <paultxo@hotmail.com>
>To: libwww-perl@ics.uci.edu
>Subject: LWP leaking handlers on NT
>Date: Tue, 02 Mar 1999 11:26:41 PST
>
>The following subroutine leaks handlers. When invoked repeatedly within 
>a process. The subroutine leaks handlers and eventually crashes the NT 
>session.
>
>How can I avoid this ? 
>
>Paul 
>**********************************************************
>use LWP::RobotUA;
>use HTTP::Request;
>use HTTP::Response;
>
>sub xxx 
>{
>    $URL0 = shift;
>
>    my $ua = new LWP::RobotUA('hcat_RobotUA', 'perislov@hotmail.com');
>    my $request = new HTTP::Request('HEAD', $URL0);
>    my $response = $ua->request($request);
>    return ($response->is_success)
>}
>**********************************************************
>
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>
>
>

Get Your Private, Free Email at http://www.hotmail.com