Problems? Is your data what you think it is? | |
PerlMonks |
Re: ARGV and online Perl commandsby blahblahblah (Priest) |
on Jan 10, 2013 at 20:07 UTC ( [id://1012733]=note: print w/replies, xml ) | Need Help?? |
The shell is evaluating "$ARGV", which comes out as an empty string. Effectively, it is just like running the following:
As toolic pointed out, one way to prevent the shell from evaluating $ARGV is by using single quotes around your command. tiny update: cleaned up the prompt, in order to simplify my example.
In Section
Seekers of Perl Wisdom
|
|