Perl: the Markov chain saw | |
PerlMonks |
Re: Trouble with Hashes of Arraysby mfriedman (Monk) |
on Aug 14, 2002 at 20:29 UTC ( [id://190219]=note: print w/replies, xml ) | Need Help?? |
There really isn't any such thing as a hash of arrays in Perl. Your hash must contain references to arrays. You can do that by assigning an anonymous array reference:
Or by assigning a reference to an existing array:
In Section
Seekers of Perl Wisdom
|
|