Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Difference between array and a hash? (Newbie concerns)

by Anonymous Monk
on Jul 30, 2009 at 03:28 UTC ( [id://784460]=note: print w/replies, xml ) Need Help??


in reply to Re: Difference between array and a hash? (Newbie concerns)
in thread Difference between array and a hash? (Newbie concerns)

In perl that used to be called pseudohash, but they were removed.
  • Comment on Re^2: Difference between array and a hash? (Newbie concerns)

Replies are listed 'Best First'.
Re^3: Difference between array and a hash? (Newbie concerns)
by hobbs (Monk) on Jul 31, 2009 at 09:30 UTC
    Pseudohash goes the other way, though. Pseudohashes were arrays internally, with a hash glued on so that the items could be accessed by key. The "ordered hash" as provided by PHP or IxHash is a hash primarily, with an array glued on to provide an ordering.
      Those are implementation details, not really relevant to how you use either
        The fact that they're two completely different things, accessed totally differently, and used totally differently, is not such a minor detail.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (1)
As of 2024-04-24 16:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found