in reply to Skipping HTML tags using the "get_token" method with HTML::TokeParser module
in thread Skipping HTML tags with HTML::TokeParser

Same as above, only instead of
while( $token = $p->get_token() ) { if( $token->[0] eq 'S' && $token->[1] eq 'a' ) {
use something like
while( $token = $p->get_token() ) { if( $token->[0] eq 'S' && $token->[1] =~ /zindex/ ) {
Although I've never heard of the zindex# tag for HTML, so I can't say whether HTML::Parser catches it.
  • Comment on (ichi) Re: Skipping HTML tags using the "get_token" method with HTML::TokeParser module
  • Select or Download Code