in reply to Re^2: simple script question scope/structure for Perl noob
in thread simple script question scope/structure for Perl noob

In this case, I'd put use warnings anyway. Note that OP's shabang does not start from the very first character in the script, because there are some lines of comment before (and an empty one, too). Thus, the -w switch is likely to be ignored in this case.

Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf

Don't fool yourself.