Another minor comment ... e's stack. s/$search/qq["$replace"]/ee is exactly the same as yours. Which is better is a matter of opinion. :-)
In reply to Re^2: Regexp variable substitution of special variable
by Tanktalus
in thread Regexp variable substitution of special variable
by cormanaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |