Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Massive expansion of a hash of arrays?

by Amblikai (Scribe)
on Jul 17, 2014 at 20:42 UTC ( [id://1094124]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %hash=('ID' => {
                      'key1' => [key1_val1, key1_val2],
                      'key2' => [key2_val1, key2_val2]
                      }
              );
    
  2. or download this
    ID, 1, key1_val1, key2_val1
    ID, 2, key1_val1, key2_val2
    ID, 3, key1_val2, key2_val1
    ID, 4, key1_val2, key2_val2
    
  3. or download this
    my $id2=1;
    my %data=();
    ...
        }
      }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1094124]
Approved by AppleFritter
Front-paged by Jim
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-23 06:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found