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


Version 2.22


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.