Hi,
you call the perl script with . hello.pl. That instructs your shell to take the commands from hello.pl and interpret them as shell commands.
The second part with say comes from the fact, that you have to enable the new (since 5.10) function 'say' with a proper use v5.14.0;
Best regards
McA
In reply to Re: Unquoted string "say" may clash with future reserved word
by McA
in thread Unquoted string "say" may clash with future reserved word
by topbanana
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |