Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by ABCXYZ (Novice)
on Dec 25, 2012 at 23:06 UTC ( #1010293=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <%hash = (%hash, e => 'f', g => 'h', i => 'j');
    <%hash = (%otherhash, %hash);
    
  2. or download this
    my %hash1 =qw/ One 1 Two 2 Three 3/;
    my %hash2 =qw/ Four 4 Five 5 Six 6/;
    ...
    %hash1 ,= %hash2;
    
    say keys %hash1;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1010293]
help
Chatterbox?
and the monastery is silent...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2018-07-17 13:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (368 votes). Check out past polls.

    Notices?