You are looking at a very old, but free version of the course. If you are interesed the most recent version, check it out on the Perl Maven site.

12.6. Checking good HTML

Example 12-3. examples/www/static_lint.t

use strict;
use warnings;

use Test::More tests => 2;
use Test::HTML::Lint;
use LWP::Simple qw(get);

my $home = get 'http://test_server/';
ok $home, 'There is a response';
html_ok $home, 'HTML OK';


$ perl static_lint.t 
ok 1 - There is a response
ok 2 - HTML OK

If you are interested in on-site trainings by the author, please contact me directly.