in reply to Quotes to 'HTML' Quotes...

$a="'Obviously?'"; $a=~s/\'/'/g; print $a."\n";
# /tmp/q
'Obviously?'

Update:I just checked: $a=~s/'/'/g; (i.e. without escaping the quote) works, too.