in reply to Allocation of anonymous arrays

as i understand this code you are using the string representation of an anonymous array as key, not the reference. Values are anonymous array, i dont think they can be mixed even if you use theese alien key names. The whole thing make little sense to me.

L*
@widowzDoubleQuotation> perl -MData::Dumper -e "%h = ([1, 2, 3] => [1, + 1, 0],[3, 4, 5] => [1, 1, 0],[1, 1, 0] => [1, 2, 1],[0, 2, 4] => [1, + 2, 1],); print Dumper \%h; print map {qq!$_ is a !.ref($_).qq!\n!} k +eys %h" __OUTPUT__ $VAR1 = { 'ARRAY(0x1d46694)' => [ 1, 2, 1 ], 'ARRAY(0x1ca21d4)' => [ 1, 2, 1 ], 'ARRAY(0x1ca15f4)' => [ 1, 1, 0 ], 'ARRAY(0x6eb01c)' => [ 1, 1, 0 ] }; ARRAY(0x1d46694) is a ARRAY(0x1ca21d4) is a ARRAY(0x1ca15f4) is a ARRAY(0x6eb01c) is a ##undef ie is not a ref but a bare string
There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.