Perl Monk, Perl Meditation | |
PerlMonks |
Re^3: Use Hash? Array? Still confused after all these years.by Anonymous Monk |
on Jul 22, 2005 at 14:12 UTC ( [id://477230]=note: print w/replies, xml ) | Need Help?? |
Wes still index arrays using non-negative integers. Sure, you can use negative integers to count from the end, but $array[-$N] is just syntatical sugar for $array[@array-$N]. If we truely could use negative integers to index, the following would not be an error:
In Section
Seekers of Perl Wisdom
|
|