Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^4: why the array index has to start at 0?? (Perl!)

by tye (Cardinal)
on Jun 24, 2009 at 20:04 UTC ( #774502=note: print w/ replies, xml ) Need Help??


in reply to Re^3: why the array index has to start at 0?? (Perl!)
in thread why the array index has to start at 0??

Yes, (but s/\$i/\$e/ :) we are even more likely to avoid indices altogether in Perl. But how we avoid using indices casts little light on how indices should be defined, so it doesn't really apply to my argument. It helps with the "we don't care as much in Perl" point. Since it is all academic at this point, I'm less concerned with how "important" it is which index scheme fits Perl best.

- tye        


Comment on Re^4: why the array index has to start at 0?? (Perl!)
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://774502]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2014-09-16 02:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (155 votes), past polls