How can I merge two arrays together as an associative manner; one array having the key column names, and the other the values?
I have tried to push one array upon the other, put only appends them as a list, does not associate them together. Any help would be greatly appreciated it. Thanks!
my @var1 = {'COL1', 'COL2', 'COL3'};
my @var2 = { '1' , '2' , '3' };
...
new array %var3 = {'COL1' => '1', 'COL2' => '2', 'COL3' => '3'}