$raw = '$parsed = "fred has \Q$color\E eyes";'; eval $raw; print $parsed; [download]
In reply to Re^2: Re-Interpolating a Scalar (a string) by Joost in thread Re-Interpolating a Scalar (a string) by Nichodemus