in reply to Merging of custom array
for my $number (@pvt_file) { say join ' ', map $_ . "_$number", @cell_file; }
(The inner loop is disguised as map).
BTW, you need to chomp the arrays to remove the newlines.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Merging of custom array
by anirbanphys (Beadle) on Jul 19, 2019 at 12:28 UTC |