in reply to Using map to interlace an array
my @keynames = (qw/first second third fourth/); my %hash; @hash{@keynames} = ('0') x @keynames; [download]