Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Answer: How do I make a hash of arrays?

( #179957=categorized answer: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @arrayOne = 1..10;
    my @arrayTwo = 20..30;
    ...
    $HashOfArrays{IpointToTheSameArrayAsOne} = \@arrayOne ;
    $HashOfArrays{IreferenceTheSameArrayAsOne} = \@arrayOne ;
    $HashOfArrays{MyValueIsThatOfOneAsWell} = \@arrayOne ;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2014-12-22 13:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (118 votes), past polls