First, tr is not a regular expression. The two bear a passing resemblance due to syntax, but they are very different beasts.
Now in your example: $text =~ tr^m,n^|\/|,/\/^; there are more charactes on the right than there are on the left.
In reply to Re: Replace all at once
by dws
in thread Replace all at once
by Parham
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |