ports/www/p5-HTML-TokeParser-Simple/pkg-descr
Sunpoet Po-Chuan Hsieh ad4f267b7a Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.

With hat:	perl
2018-05-27 20:15:16 +00:00

12 lines
406 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: https://metacpan.org/release/HTML-TokeParser-Simple