jojojo has asked for the wisdom of the Perl Monks concerning the following question:

Hello, Im new to PERL and thus stuck with something. I have an array which contains two elements. I want to create a hash such that the first element is the key for the second element. How do I do that? I tried a few things but nothing seems to be working.

my %sizes = map { "$symbolsizes[0]" => "$symbolsizes[1]" } ;