in reply to Skipping HTML tags using the "get_token" method with HTML::TokeParser module
in thread Skipping HTML tags with HTML::TokeParser
use something likewhile( $token = $p->get_token() ) { if( $token->[0] eq 'S' && $token->[1] eq 'a' ) {
Although I've never heard of the zindex# tag for HTML, so I can't say whether HTML::Parser catches it.while( $token = $p->get_token() ) { if( $token->[0] eq 'S' && $token->[1] =~ /zindex/ ) {
|
|---|