in reply to Re^2: Toke Parser get table
in thread Toke Parser get table

Attributes are in ->[2], not ->[1]

Replies are listed 'Best First'.
Re^4: Toke Parser get table
by Anonymous Monk on Mar 17, 2009 at 20:32 UTC
    I changed it from 1 -> 2 however it is still not showing the class of the table. I appreciate all the help. c $te = HTML::TableExtract->new(); $te->parse($mech->content); print "FUCK"; while (my $table = $stream->get_tag("table")){ print $table->2{class}; if($table->2{class} eq 'details'){ print "HERE"; while(my $row = $table->get_tag("td")){ print $table->get_trimmed_text("/td"); } } } /c