Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: merging two hashes

by ikegami (Pope)
on Feb 08, 2006 at 20:53 UTC ( #528930=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @a = (
       @{$s->{aa}->{'1'}},
       @{$s->{bb}->{'1'}},
       @{$s->{cc}->{'1'}},
    );
    
  2. or download this
    my @a = map { @$_ } (
       $s->{aa}->{'1'},
       $s->{bb}->{'1'},
       $s->{cc}->{'1'},
    );
    
  3. or download this
    my @a = map { @{$s->{$_}->{'1'}} } keys %$s;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (14)
As of 2014-08-20 18:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (121 votes), past polls