in reply to Need help constructing a one-liner
$_=~s/^(([^,]+,){4})([^,]+,[^,]+)/$1"$3"/;
would work too. Nothing is wrong with what you have though. I think it's much clearer.