Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Syntactic Confectionery Delight
 
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 perusing the Monastery: (6)
As of 2014-04-18 00:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (460 votes), past polls