Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: Parse a file into a hash

by aaron_baugher (Deacon)
on Apr 05, 2012 at 22:19 UTC ( #963755=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    push @{$stack{$key}}, $value;
    
  2. or download this
    for my $key (keys %stack){
      for my $value (@{$stack{$key}}){
        # do stuff with $key and $value
      }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://963755]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2014-07-14 05:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (255 votes), past polls