in reply to ARGV and online Perl commands
perl -e "print $ARGV[1];" ONE- TWO- ARGV: Undefined variable.
But, if I change to single quotes to make my shell happy:
perl -e 'print $ARGV[1];' ONE- TWO- TWO-
UPDATE: when I switch my shell from tcsh to bash, I can duplicate your result.
|
|---|