http://qs1969.pair.com?node_id=500571


in reply to Using references as hash keys

Maybe I am confused but what about
my $aref = [1,2,3]; my @other = [1,2]; my $oref = \@other; my $array = Array::AsHash->new({ array => [ $aref => 'Ovid', $oref => 'traveler' ] }); ... push @other, 3; print $array->get($aref); # prints "Ovid" print $array->get([1,2,3]); # fails
If your suggested changes make the second get work, what would it print?