3c7aa43f5d
PR: 75805 Submitted by: Lars Eggert <lars.eggert at gmx.net>
12 lines
408 B
Text
12 lines
408 B
Text
HTML::TokeParser::Simple is a subclass of HTML::TokeParser that uses
|
|
easy-to-remember method calls to work with the tokens. Rather than
|
|
try to remember a bunch of array indices or try to write a bunch of
|
|
constants for them, you can now do something like:
|
|
|
|
$token->is_start_tag( 'form' )
|
|
|
|
Instead of
|
|
|
|
$token->[0] eq 'S' and $token->[1] eq 'form'
|
|
|
|
WWW: http://search.cpan.org/~ovid/HTML-TokeParser-Simple/
|