http://qs321.pair.com?node_id=717657


in reply to Re^2: HTML::TokeParser Frustration
in thread HTML::TokeParser Frustration

Instead of this:
print "Found Data: $text\n";
try this:
use Data::Dumper qw/Dumper/; ... print Dumper( $text );
As explained in the manual for HTML::TokeParser, the "get_tag" function returns a reference to an array, and Dumper is just an easy way to see what the array elements contain.