Scroll to navigation

HTML::Lint::Parser(3pm) User Contributed Perl Documentation HTML::Lint::Parser(3pm)


HTML::Lint::Parser - Parser for HTML::Lint. No user-serviceable parts inside.


Version 2.32


See HTML::Lint for all the gory details.


new( $gripe )

Constructor for the main parsing object. The $gripe argument is a coderef to a function that can handle errors from the parser. It is only ever (so far) "HTML::Lint::gripe()".

$parser->gripe( $errorcode, [ arg1=>val1, ...] )

Calls the passed-in gripe function.

If a given directive has been set to turn off a given message, then the parent gripe never gets called.

2018-09-12 perl v5.26.2