Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Introduction to anonymous arrays and hashes

by Zaxo (Archbishop)
on Nov 06, 2004 at 08:35 UTC ( #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? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2023-01-31 03:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?