in reply to Trouble with Hashes of Arrays

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:

$hash{'foo'} = [ 1, 2, 3, 4 ];

Or by assigning a reference to an existing array:

$hash{'foo'} = \@bar;