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

Changing to get_tag yields...

Found Data: ARRAY(0x81e326c)

Replies are listed 'Best First'.
Re^3: HTML::TokeParser Frustration
by graff (Chancellor) on Oct 17, 2008 at 04:47 UTC
    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.