http://qs321.pair.com?node_id=775924


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

mapping is the best..... since you have large arrays
use strict; my %hash=map {@array1[$_]=>@array2[$_]} 0..$#array1;