$ perl -e 'say "fred"' String found where operator expected at -e line 1, near "say "fred"" (Do you need to predeclare say?) syntax error at -e line 1, near "say "fred"" Execution of -e aborted due to compilation errors. $ perl -E 'say "fred"' fred #### $ perl -e 'my $x = [qw{a b c}]; print "$x->@*\n"' ARRAY(0x7f82b20040b0)->@* $ perl -E 'my $x = [qw{a b c}]; print "$x->@*\n"' a b c #### $ perlbrew switch perl-5.14.0t $ perl -E 'my $x = [qw{a b c}]; print "$x->@*\n"' ARRAY(0x7fe830004ae8)->@* #### $ perlbrew switch perl-5.14.0t $ perl -E 'say "fred"' fred