screamer@home:~$ cat test.pl use warnings; use strict; { my $i = 0; sub test { print ++$i, @_ } } test "\n" for 1..10; screamer@home:~$ perl -c test.pl test.pl syntax OK screamer@home:~$ perl -v This is perl, v5.6.0 built for i386-linux ...