![]() |
|
Perl Monk, Perl Meditation | |
PerlMonks |
Re^3: fun(?) with +=by Rhose (Priest) |
on Jan 03, 2005 at 16:35 UTC ( #418983=note: print w/replies, xml ) | Need Help?? |
Do you mean that you'd write it as: $foo = @ARGV ? shift : 1; (I think you may have the 1 and shift switched.)
In Section
Seekers of Perl Wisdom
|
|