mhearse has asked for the wisdom of the Perl Monks concerning the following question:
@array = qw (A B C D E F G); @array1 = qw (1 2 3 4 5 6 7); foreach $x (@array) { foreach $y (@array1) { push (@array2, $x.$y) } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: prepend string to entire array
by merlyn (Sage) on Sep 10, 2003 at 01:34 UTC | |
by mhearse (Chaplain) on Sep 10, 2003 at 01:55 UTC | |
by jeffa (Bishop) on Sep 10, 2003 at 01:59 UTC | |
by antirice (Priest) on Sep 10, 2003 at 02:09 UTC | |
|
Re: prepend string to entire array
by jeffa (Bishop) on Sep 10, 2003 at 01:57 UTC | |
|
Re: prepend string to entire array
by gmax (Abbot) on Sep 10, 2003 at 09:50 UTC | |
|
Re: prepend string to entire array
by jonadab (Parson) on Sep 10, 2003 at 03:03 UTC | |
|
Re: prepend string to entire array
by Roger (Parson) on Sep 10, 2003 at 02:33 UTC | |
|
Re: prepend string to entire array
by blue_cowdawg (Monsignor) on Sep 10, 2003 at 16:03 UTC | |
by Anonymous Monk on Sep 10, 2003 at 16:32 UTC | |
by blue_cowdawg (Monsignor) on Sep 10, 2003 at 18:07 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |