in reply to Hash of Arrays

When I run your code, it seems to work as expected:
HoA test 1: ARRAY(0x8111b78) HoA test 1: aaa HoA test 1: 3
You are, respectively, printing the array reference itself, the first element of the array and the array in scalar context, which produces the number of elements in the array.

FYI, here are some general ways of manipulating HoA's:

# Initialisation my %HoA = ( 'camel' => [ 'flea', 'bug-ridden', 'brown' ], 'flea' => [ 'camel-loving', 'bug', 'too tiny to tell' ] ); # Adding arrays: $HoA{'frog'}= [ 'tadpole', 'no bugs', 'green' ]; # Getting element of an array print "A camel is: ".$HoA{'camel'}->[2];
A very useful module in this regard is Data::Dumper. You can use it to inspect the structure of your HoA:
# HoA from above use Data::Dumper; print Dumper(\%HoA);
Results in:
$VAR1 = { 'flea' => [ 'camel-loving', 'bug', 'too tiny to tell' ], 'camel' => [ 'flea', 'bug-ridden', 'brown' ], 'frog' => [ 'tadpole', 'no bugs', 'green' ] };
For more information, I recommend perldata, perlref and perldsc, all included in the standard Perl distribution.

CU
Robartes-