Copy them to new variables before using them.
Not sure why you even need two nested regexes here... One s/// should be sufficient.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
In reply to Re: In place search and replace with a hash
by LanX
in thread In place search and replace with a hash
by hkates
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |