Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Hash of arrays

by perlloz (Initiate)
on Dec 28, 2012 at 05:45 UTC ( #1010633=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    foreach $newdn ( keys %newgrouphash )  {
                         
             foreach $group ( @{$newgrouphash{$newdn}} )  {
    
  2. or download this
    push (@{$newgrouphash{"$newdn"} },"$newgroup");  
        foreach $newdn (sort keys %newgrouphash )  {
    ...
                       print "$res\n";
              
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1010633]
Approved by NetWallah
Front-paged by NetWallah
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2014-08-21 06:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (127 votes), past polls