Perl: the Markov chain saw | |
PerlMonks |
Re: why the array index has to start at 0??by Argel (Prior) |
on Jun 24, 2009 at 20:21 UTC ( [id://774514]=note: print w/replies, xml ) | Need Help?? |
For better or worse "offset" was spelled "index", and thus the source of your confusion. The fact of the matter is that we are stuck with "index" whether it makes sense or not and whether we like it or not. Just think "offset" when you see "index". And never use the $[ trick!!!
Elda Taluta; Sarks Sark; Ark Arks
In Section
Seekers of Perl Wisdom
|
|