Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

(ichi) Re: Skipping HTML tags using the "get_token" method with HTML::TokeParser module

by ichimunki (Priest)
on Mar 14, 2002 at 19:14 UTC ( #151790=note: print w/ replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://151790]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2015-07-07 09:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (88 votes), past polls