Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^2: Question regarding hash with multiple values

by sundialsvc4 (Abbot)
on Jul 10, 2013 at 12:18 UTC ( #1043460=note: print w/ replies, xml ) Need Help??

in reply to Re: Question regarding hash with multiple values
in thread Question regarding hash with multiple values

n.b. Pay particular attention to the square brackets that appear in the above code-sample, vs. your original post.   It does not matter that the word People is or isn’t in-quotes ... what does matter are the square-brackets indicating an array of (in this case) hash-references.

Perl data structures can become quite intricate because you can certainly have more than one reference to the same hash (or whatever-it-is).   You can do things similar to indexes in an SQL database, quite easily ... effectively, one piece of data is “in more than one place at one time.”   As long as you mind your P’s and Q’s ...

Comment on Re^2: Question regarding hash with multiple values

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2015-11-28 05:55 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (738 votes), past polls