Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
for $i ( 0 .. $#AoA_first ) { $row_first = $AoA_first[$i]; $row_second = $AoA_second[$i]; open TEMP, ">TMPFILES/$i.tmpfile"; for $j ( 0 .. $#{$row_first} ) { print TEMP "$row_first->[$j]\t$row_second->[$j]\n"; } close TEMP; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Efficient way to print 2 columns from 2 Array of Arrays next to each other
by BrowserUk (Patriarch) on Oct 25, 2016 at 16:56 UTC | |
by Anonymous Monk on Oct 25, 2016 at 17:08 UTC | |
|
Re: Efficient way to print 2 columns from 2 Array of Arrays next to each other
by Laurent_R (Canon) on Oct 25, 2016 at 17:17 UTC | |
|
Re: Efficient way to print 2 columns from 2 Array of Arrays next to each other
by BillKSmith (Monsignor) on Oct 25, 2016 at 22:38 UTC |