Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Parse a file into a hash

by aaron_baugher (Curate)
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 browsing the Monastery: (6)
As of 2016-02-06 18:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (235 votes), past polls