The solution for the First exercise.
Make sure you have access to the right version of Perl (5.8.x) or newer.
$ perl -v
$ perl -V
$ perl -e "print 42"
$ perl -E "say 42"
Check you can read the documentation. (perldoc)
$ perldoc perl
Press SPACE for next page and ENTER for next line.
Press q to quit.
$ perldoc perlsyn
$ aptitude search perl-doc
$ sudo aptitude install perl-doc