freebsd-ports/www/p5-HTML-TokeParser-Simple/pkg-descr
Mathieu Arnold 8c0bf1dda6 Add p5-HTML-TokeParser-Simple 2.2, subclass of HTML::TokeParser with
easy-to-remember method calls.

PR:		ports/65709
Submitted by:	Lars Eggert <lars.eggert@gmx.net>
2004-05-06 12:34:02 +00:00

10 lines
349 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'