I'm trying to concatenate 2 arrays. The catch is that I'm trying to concatenate the elements. like the following
my @array = qw/one two three four/;
my @array2 = qw/a b c d/;
I want the result to be stored in a new array.
the result should be like:
one:a, two:b, three:c, four:d
Start Free Trial