Task

Using two Arrays of equal length, create a Hash object
where the elements from one array (the keys) are linked
to the elements of the other (the values)



Related task

   Associative arrays/Creation


cat <<VAL >p.values
apple
boy
cow
dog
elephant
VAL
 
cat <<KEYS >p.keys
a
b
c
d
e
KEYS
 
paste -d\   <(cat p.values | sort) <(cat p.keys | sort)