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 (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: (9)
As of 2015-09-01 10:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (370 votes), past polls