$hash{'foo'} = [ 1, 2, 3, 4 ];
Or by assigning a reference to an existing array:
$hash{'foo'} = \@bar;
In reply to Re: Trouble with Hashes of Arrays
by mfriedman
in thread Trouble with Hashes of Arrays
by HiFoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |