XP is just a number | |
PerlMonks |
Re: Ternary Operator for Multiple Arguments Passingby reneeb (Chaplain) |
on Dec 21, 2005 at 01:27 UTC ( [id://518220]=note: print w/replies, xml ) | Need Help?? |
you are shifting when $ARGV[0] is true, then your second argument is in $ARGV[0], too. It has to be
But I would recommend to use Getopt::Long
In Section
Seekers of Perl Wisdom
|
|