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

Re^2: merging two hashes

by Roy Johnson (Monsignor)
on Feb 08, 2006 at 22:20 UTC ( #528951=note: print w/ replies, xml ) Need Help??


in reply to Re: merging two hashes
in thread merging two hashes

If you're not going to sort the keys, you can just use values

my @a = map @{$_->{1}}, values %$s;

Caution: Contents may have been coded under pressure.


Comment on Re^2: merging two hashes
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (14)
As of 2015-07-07 22:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls