~/perl J-PC:J >which perl /usr/bin/perl ~/perl J-PC:J >ls -l hello.pl -rwxr--r-- 1 J None 44 Feb 26 15:22 hello.pl ~/perl J-PC:J >cat hello.pl #!/usr/bin/perl use warnings; say "hello"; ~/perl J-PC:J >. hello.pl -bash: use: command not found -bash: say: command not found ~/perl J-PC:J >perl hello.pl Unquoted string "say" may clash with future reserved word at hello.pl line 4. String found where operator expected at hello.pl line 4, near "say "hello"" (Do you need to predeclare say?) syntax error at hello.pl line 4, near "say "hello"" Execution of hello.pl aborted due to compilation errors. ~/perl J-PC:J >perl -v This is perl 5, version 14, subversion 2 (v5.14.2) built for cygwin-thread-multi-64int