Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 studying the Monastery: (12)
As of 2014-09-18 21:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (124 votes), past polls