Andy Lester > Apache-Lint-0.10 > Apache::Lint

Download:
Apache-Lint-0.10.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.10   Source  

NAME ^

Apache::Lint - Apache wrapper around HTML::Lint

SYNOPSIS ^

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:

    my $r = shift;
    $r = $r->filter_register

VERSION ^

Version 0.10

FUNCTIONS ^

handler()

Apache::Filter-aware content handler. Your other handlers in the chain must also be filter-aware.

SEE ALSO ^

HTML::Lint, Apache::Filter

TODO ^

LICENSE ^

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.

AUTHOR ^

Andy Lester, <andy@petdance.com>

syntax highlighting: