Plack::Middleware::HTMLLint - check syntax with HTML::Lint for PSGI application's response HTML
This document describes Plack::Middleware::HTMLLint version 0.03.
use Plack::Builder; builder { enable_if { $ENV{PLACK_ENV} eq 'development' } 'HTMLLint'; sub { my $env = shift; # ... return [ 200, ['Content-Type' => 'text/plain'], ['<html><head>...'] ]; }; };
This module check syntax with HTML::Lint for PSGI application's response HTML. to assist you to discover the HTML syntax errors during the development of Web applications.
Perl 5.8.1 or later.
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.
Plack::Middleware Plack::Middleware::HTMLLint::Pluggable HTML::Lint HTML::Lint::Pluggable
Kenta Sato <karupa@cpan.org>
Copyright (c) 2012, Kenta Sato. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Plack::Middleware::HTMLLint, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::Middleware::HTMLLint
CPAN shell
perl -MCPAN -e shell install Plack::Middleware::HTMLLint
For more information on module installation, please visit the detailed CPAN module installation guide.