in reply to Using the contents of
The documentation says that alternatively to
you can use$p = HTML::TokeParser->new( $filename, %opt );
$p = HTML::TokeParser->new( \$document, %opt );
Which is what I'd use then.
In Section
Seekers of Perl Wisdom
in reply to Using the contents of
The documentation says that alternatively to
you can use$p = HTML::TokeParser->new( $filename, %opt );
$p = HTML::TokeParser->new( \$document, %opt );
Which is what I'd use then.