aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-HTML-TokeParser-Simple/pkg-descr
blob: 4487d4f17dab852e90f170b320a7488d311b2d11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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'