my @a = (5..10); my $aref = \@a; #... my $anotheref = $aref; #... my %h = ( $aref => 'first one', $anotheref => 'second one' );