my $test = 'x x x a x x x b x x x a x x x b x x x'; $test =~ tr/[ab]/[ba]/; print "$test";:w
In reply to Re: Multiple replacements with the exception of previously made replacements.
by sanku
in thread Multiple replacements with the exception of previously made replacements.
by jthiel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |