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??

Iterating over the elements is obviously preferred, but it's not always possible. Sometimes, you need to iterate over the indexes.
  • Comment on Re^4: why the array index has to start at 0?? (Perl!)

Replies are listed 'Best First'.
Re^5: why the array index has to start at 0?? (Perl!)
by Argel (Prior) on Jun 24, 2009 at 20:44 UTC
    Of course, but tye is using examples that undermine his own arguments!! I'm still going to go with just think "offset" when you see "index".

    Elda Taluta; Sarks Sark; Ark Arks