in reply to Re: perl command line arguments
in thread perl command line arguments

@ARGV works just fine in code from -e.
Yep, it does. However, the meaning is changed under -n. Or at least one has to jump through a hoop (namely a BEGIN block) to get to it before the loop created by -n gets to it. But I'm sure you knew that. See perldoc perlrun for more info.

thor