Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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

by merlyn (Sage)
on Dec 06, 2002 at 20:01 UTC ( #218138=note: print w/replies, xml ) Need Help??

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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2020-06-02 06:33 GMT
Find Nodes?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?

    Results (13 votes). Check out past polls.