my $string = "cheese"; my $need_to_interpolate = 'smell my $string\n'; print eval('"' . $need_to_interpolate . '"');