Scroll to navigation

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

NAME

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

VERSION

Version 2.32

SYNOPSIS

See HTML::Lint for all the gory details.

METHODS

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.

2020-12-28 perl v5.32.0