my $array = Array::AsHash->new({array => \@array}); my $value = $array->get($some_reference);