Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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?
[Corion]: A good daystart to everybody ;)

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2016-12-07 08:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (125 votes). Check out past polls.