Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
How can you add the array:@AoA = ( [ "fred", "barney" ], [ "george", "jane", "elroy" ], [ "homer", "marge", "bart" ], );
so that, in the end, you have:@new_arr = ("pebbles", "bamm bamm", "dino");
thanks@AoA = ( ["pebbles", "bamm bamm", "dino"], [ "fred", "barney" ], [ "george", "jane", "elroy" ], [ "homer", "marge", "bart" ], );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Append array to array of arrays
by roboticus (Chancellor) on Jun 28, 2013 at 02:13 UTC | |
|
Re: Append array to array of arrays
by LanX (Saint) on Jun 28, 2013 at 00:42 UTC |