Cheers - L~R#!/usr/bin/perl -w use strict; my @one = qw(A B C D); my @two = qw(E F G H); my @mda; my $total = @one > @two ? $#one : $#two; push @mda , [ $one[$_] , $two[$_] ] for 0 .. $total;
In reply to Re: build multidimensional array from arrays
by Limbic~Region
in thread build multidimensional array from arrays
by kevsurf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |