in reply to Using the contents of
The documentation says that alternatively to
$p = HTML::TokeParser->new( $filename, %opt );
$p = HTML::TokeParser->new( \$document, %opt );
Which is what I'd use then.
PerlMonks, of course - how could you ask?
Games & puzzles
Arts & music
Whichever pays my bills
Results (225 votes). Check out past polls.