Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2017-03-23 11:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (285 votes). Check out past polls.