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

Re^2: Concerning hash operations (appending, concatenating)

by tilly (Archbishop)
on Mar 26, 2005 at 02:10 UTC ( #442441=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $hash1{$_} = $hash2{$_} for keys %hash2;
    
  2. or download this
    @hash1{keys %hash2} = values %hash2;
    
  3. or download this
    $combined{$k} = $v while my ($k, $v) = each %hash2;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://442441]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2017-03-30 20:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (364 votes). Check out past polls.