Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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?
[erix]: one can only hope the Pope will administer the same humiliation
Discipulus the pope is the last good politic here around..sigh
[Discipulus]: erix the right order of books is: The Three Musketeers, Twenty Years After, The Count of Moret; The Red Sphinx (not in the cycle but a must read!), The Vicomte de Bragelonne

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (10)
As of 2017-05-24 07:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?