in reply to Re: What do \Q and \E mean?in thread What do \Q and \E mean?
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 '$'. [download]