in reply to Re: Unquoted string "say" may clash with future reserved word
in thread Unquoted string "say" may clash with future reserved word
But I cannot execute the script with "." :~/perl J-PC:J >cat hello.pl #!/usr/bin/perl use warnings; use v5.10.0; say "hello"; ~/perl J-PC:J >perl hello.pl hello ~/perl
I have added /usr/bin/perl to my $PATH variable, although I don't think that should be necessary because the script has /usr/bin/perl at the top of it. I have also put +x perms on the script.J-PC:J >. hello.pl -bash: use: command not found -bash: use: command not found -bash: say: command not found ~/perl J-PC:J >
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Unquoted string "say" may clash with future reserved word
by perl-diddler (Chaplain) on Feb 26, 2013 at 16:23 UTC | |
by topbanana (Novice) on Feb 26, 2013 at 16:24 UTC | |
|
Re^3: Unquoted string "say" may clash with future reserved word
by thargas (Deacon) on Feb 26, 2013 at 16:27 UTC |