You can use a substitution instead:
$word =~ s/(whatever)U(whatever)/$1Ú$2/
Notice that you can't modify $$ either, which is the current process ID.
In reply to Re: $& as a read-only value
by moritz
in thread $& as a read-only value
by frasco
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |