Andrea Holstein wrote:
> 
> TMTOWTDI:
> 
> @joined_array = map { [ @$array1[$_], @$array2[$_] ] } (0..$#array1);
> 
Please excuse my little bugs:
I wrote a little script that helps to understand:
Hallo!

use strict;
 
my $array1 = [
                         [11,12],
                         [21,22],
                         [31,32]
                   ];
my $array2 = [
                         [18,19],
                         [28,29],
                         [38,39]
                   ];
  
  
my @joined_array = map { [ @{$array1->[$_]}, @{$array2->[$_]} ] }
(0..scalar @$array1 - 1);
  
  
foreach (@joined_array) {
        print join("\t",@$_), "\n";
} 
  
Greetings,
Andrea

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to