in reply to How to make a hash out of two arrays,one with keys and other with values?

Or you can use map and shift, like:
map { $hash{ $_ } = shift @array2 } @array1;
  • Comment on Re: How to make a hash out of two arrays,one with keys and other with values?
  • Download Code