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.2. Calculator test

Example 5-2. examples/intro/t01_calc.t

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

system "./mycalc 1  + 1";
print "\n";
system "./mycalc 2 + 2";
print "\n";
system "./mycalc 2 + 2 + 2";
print "\n";

Output:

Example 5-3. examples/intro/t01_calc.out

2
4
4

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