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.

5.11. Load Test::Simple at run time

Example 5-16. examples/intro/t11_calc.t

#!/usr/bin/perl
use strict;
use warnings;

my %tests = (
    '1 + 1'     => 2,
    '2 + 2'     => 4,
    '2 + 2 + 2' => 6,
    '1+1'       => 2,
    '0+ -1'     => -1,
    '0-1'       => -1,
    '-1+1'      => 0,
);

require Test::Simple;
import Test::Simple tests => scalar keys %tests;

foreach my $t ( keys %tests ) {
    ok( `./mycalc $t` == $tests{$t}, $t );
}

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