|laziness, impatience, and hubris|
Re^3: how many elements in array?by RazorbladeBidet (Friar)
|on Apr 18, 2005 at 12:59 UTC ( #448828=note: print w/replies, xml )||Need Help??|
Although, technically, they actually could produce the same thing, if one were to modify $[ to be 1
Update: Just a caveat that this is not recommended in the slightest :) as the docs for index say:
The return value is based at 0 (or whatever you've set the $[ variable to--but don't do that).
"But what of all those sweet words you spoke in private?"
"Oh that's just what we call pillow talk, baby, that's all."
In Section Seekers of Perl Wisdom