in reply to Dreaming of Post Interpolation

OK, here we go...
eval '$interpolated = "' . $text . '"';
$interpolated should now be the interpolated version of $text.

Yes, I know this is a cheap way of doing it, but it does work... (It even catches references, hashes, arrays, etc.!)