my %hash; my @array = (1..100); # this will be ok $hash{\@array} = 42;