Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 exploiting the Monastery: (1)
As of 2017-01-18 05:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (160 votes). Check out past polls.