I have lines of code with two large arrays (so can\'t just write it into a hash) which I want to connect with a hash.
For example, $array1[0] becomes th
$array1[0]
use List::MoreUtils qw( zip ); my @a = 'A' .. 'E'; my @b = 1 .. 5; my %hash = zip @a, @b;