Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2014-12-28 13:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (181 votes), past polls