in reply to converting an array to an hash
my @arr = 'a' .. 'e'; my %hash; @hash{0 .. $#arr} = @arr; [download]
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)