![]() |
|
The stupid question is the question not asked | |
PerlMonks |
Re^4: array within an arrayby aartist (Pilgrim) |
on Oct 07, 2011 at 15:01 UTC ( #930199=note: print w/replies, xml ) | Need Help?? |
You need to see if you can find all the elements before you start to replace. So you need to hold them in memory somewhere. If you reach to end of the array before finding them, just put them as it is on their respective locations.
In Section
Seekers of Perl Wisdom
|
|