By the way, I think you want "s{\\Q\$in\\E}{\$out}g" instead of "s{\\Q$in\\E}{$out}g" The difference will be seen when $in or $out contains a '$'.
In reply to Re^2: What do \Q and \E mean?
by apt_get
in thread What do \Q and \E mean?
by apt_get
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |