forked from Lainports/freebsd-ports
- Restrict to Perl 5.6+ due to dependency upon www/p5-HTML-Parser
- Take maintainership
3.15 2005-11-29
Fixed bug where rewrite_tag would unescape entities. Thanks to "Paul
Bijnens" <paul.bijnens@xplanation.com> for the bug report and fix.
PR: ports/98336
Submitted by: aaron
Reviewed by: maintainer
Approved by: maintainer, tobez (implicit)
13 lines
461 B
Text
13 lines
461 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/dist/HTML-TokeParser-Simple/
|
|
Author: Curtis "Ovid" Poe <eop_divo_sitruc@yahoo.com>
|