in reply to accessing hash of arrays

Pitfall Alert:

The notation  04 in the example code in the OP will be evaluated as an octal number! Consider:

>perl -wMstrict -le "my $s; $s = 04; print $s; $s = 011; print $s; " 4 9