Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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?
[1nickt]: Good morning, brainy monks!
[marto]: Hi 1nickt, I know it's early days, but how is the new job?
[Corion]: Hi 1nickt!
[Corion]: Ohai marto!
[marto]: hey Corion

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2017-12-11 11:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (289 votes). Check out past polls.

    Notices?