Here is a downloadable version of Perl tutorial in PDF or HTML.
BTW, I get several errors when I try to run perl on my systems. Here is the program.
# cat myprog.pl
use strict; # important pragma
use warnings; # another pragma
print "What is your username? "; # print out question
my $username; # "declare" a variable
$username = <STDIN>; # ask for a username
chomp($username); # remove "new line"
print "Hello, $username.\n"; # print out the greeting
*** Here are the errors.
Can't locate strict.pm in @INC (@INC contains: /opt/perl5/lib/5.00502/PA-RISC1.1
/opt/perl5/lib/5.00502 /opt/perl5/lib/site_perl/5.005/PA-RISC1.1 /opt/perl5/lib
/site_perl/5.005 .) at ./myprog.pl line 3.
BEGIN failed--compilation aborted at ./myprog.pl line 3.
Here is my version of PERL.
# perl -v
This is perl, version 4.0
$RCSfile: perl.c,v $$Revision: 220.127.116.11 $$Date: 1993/02/05 19:39:30 $
Patch level: 36
Copyright (c) 1989, 1990, 1991, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 4.0 source kit.