The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use warnings;
use strict;

use Test::More;
use HTML::Lint;

sub ok_lint {
    my $html = shift;
   
    {
    my $lint = HTML::Lint->new;
     $lint->parse($html); 
     is( $lint->errors, 0, "Lint checked clean" );
    foreach my $error ( $lint->errors ) {
        diag( $error->as_string );
        }}

}


1;