Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: merging two hashes

by pKai (Priest)
on Feb 08, 2006 at 21:42 UTC ( #528945=note: print w/replies, xml ) Need Help??


in reply to merging two hashes

my @a = map { @{$s->{$_}->{'1'}} } sort keys %$s;

Just combining the best (IMHO) of previous answers.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://528945]
help
Chatterbox?
Discipulus ..the train passing
jurko couldn't resist pressing the dangerous looking button!
[Discipulus]: anyway good morning monks

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2017-07-26 07:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (385 votes). Check out past polls.