in reply to Re^2: In place replace, ignoring between quotesin thread In place replace, ignoring between quotes
$out = $out ? 0 : 1 if $_ eq '"'; [download]
I do not know why Perl sets $out to undef.