Apache::Lint - Apache wrapper around HTML::Lint
Apache::Lint passes all your mod_perl-generated code through the HTML::Lint module, and spits out the resulting errors into.
<Location /my/uri> SetHandler perl-script PerlSetVar Filter On PerlHandler Your::Handler Apache::Lint </Location>
Your handler Your::Handler must be Apache::Filter-aware. At the top of your handler, put this line:
Your::Handler
my $r = shift; $r = $r->filter_register
Version 0.10
Apache::Filter-aware content handler. Your other handlers in the chain must also be filter-aware.
HTML::Lint, Apache::Filter
Make it work
This code may be distributed under the same terms as Perl itself.
Please note that these modules are not products of or supported by the employers of the various contributors to the code.
Andy Lester, <andy@petdance.com>
To install Apache::Lint, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::Lint
CPAN shell
perl -MCPAN -e shell install Apache::Lint
For more information on module installation, please visit the detailed CPAN module installation guide.