(my$tmp = $string) =~ s/foo/blah/;
--
Check out my Perlmonks Related Scripts like framechat,
reputer, and xNN.
In reply to Re: Non-destructive substitution?
by epoptai
in thread Non-destructive substitution?
by Sprad
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |