Hi:

I just tried HTML::TokeParser for my problem instead as it's covered in the
LWP Perl book I bought.

Anyway I am getting a "Illegal division by zero" error message from this line
of code:

my $stream = HTML::TokeParser->new($optindir/$mini) || die "Couldn't read HTML
file $filename: $!";

where, $optindir/$mini = full path to "minileague.html"

I cannot process any token if this line fails. Any hints what would do this ?

Louis.

Louis Selvon <[EMAIL PROTECTED]> wrote:

I found the module for this 
HTML::Parser.

It's already installed on my server as well. I am reading the docs to see how
this works as I've never used it before.

However if anyone can let me know how to get what I want from the file using
this HTML::Parser or even pattern matching that would be great.

Louis.

Louis Selvon <[EMAIL PROTECTED]> wrote:

> As an HTML parser, not pattern matching - it'll be much easier.

What do you mean here ? Is there a Perl module for this ?

I am using perl as I am taking this data and updating it in some other files.

Please expand on this.

Thank you.

Louis


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug




-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug




--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to