#!perl -Tw use warnings; use strict; use Test::More tests => 4; use Test::HTML::Lint; BEGIN { use_ok( 'Test::HTML::Lint' ); } my $chunk = "

This is a fine chunk of code

"; TODO: { # undef should fail local $TODO = "This test should NOT succeed"; html_ok( undef ); } html_ok( '' ); # Blank is OK html_ok( $chunk );