|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re: Non-destructive string substitutionby fruiture (Curate) |
| on Apr 20, 2004 at 18:29 UTC ( #346741=note: print w/ replies, xml ) | Need Help?? |
|
The key is to copy the data you want to preserve. If you need this kind of behaviour very often, write a simple subroutine that does what you want.
TI, of course, MTOWTDI.
-- http://fruiture.de
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||