Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Answer: How do I make a hash of arrays?

by Anonymous Monk
on Jul 07, 2002 at 11:49 UTC ( #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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2016-12-03 18:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (56 votes). Check out past polls.