in reply to Re: •Re: array index -1 oddity
in thread array index -1 oddity

Maybe you missed this statement in perldata:
  Variable names
    Perl has three built-in data types: scalars, arrays of scalars, and
    associative arrays of scalars, known as "hashes". Normal arrays are
    ordered lists of scalars indexed by number, starting with 0 and with
    negative subscripts counting from the end. Hashes are unordered
    collections of scalar values indexed by their associated string key.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on •Re: Re: •Re: array index -1 oddity