-a only works in combination with -n or -tI assume this is a typo and Abigail meant -n or -p.
Actually, even without -n or -p, the -a switch does have the very minor effect of creating @F, so that referring to it won't get you a Name "main::F" used only once: possible typo warning. (And *F{ARRAY} will give a reference to @F even if no @F is mentioned anywhere, instead of the usual undef.) These could be construed as a bug.
In reply to Re: Re: Uncommon* but Useful Perl Command Line Options
by ysth
in thread Uncommon* but Useful Perl Command Line Options for One-liners
by Sol-Invictus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |