P is for Practical | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
My rule is, use @ARGV when you want to talk about the number of elements, and reserve $#ARGV for getting the ending index for ranges.
Thanks, merlyn... It's one of those things I learned to do one way when I was first learning Perl, and have never gone back and revisted it... There's just so few things I can help people with in Perl, that I get excited when I see one I *can* answer :) Guess I'm destined to remain an acolyte for the foreseeable future :) I'll make a note for future development Trek In reply to Re^3: Testing <> for undefined
by TrekNoid
|
|