Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Introduction to anonymous arrays and hashes

by Zaxo (Archbishop)
on Nov 06, 2004 at 08:35 UTC ( [id://405733]=note: print w/replies, xml ) Need Help??


in reply to Introduction to anonymous arrays and hashes

Another related example: list your couples by address, giving the man and woman equal billing,

my $hashref = { Eden => [qw/Adam Eve/], Hell => [qw/Bonnie Clyde/] };
Each hash value is a truly anonymous array, and the hash itself is anonymous, though the reference to it is named.

After Compline,
Zaxo

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (None)
    As of 2024-04-19 00:02 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found