in reply to Text::CSV_XS issue
Because its a feature?
Look at the parameters on new:
quote_char
The char used for quoting fields containing blanks, by default the double quote character ("). A value of undef suppresses quote chars. (For simple cases only).The CSV specification, as defined in RFC4180, is somewhat contentious, particularly with regard to quoting and spaces. It appears that your code is doing something "reasonable", and not quoting when the param doesn't contain a space, and quoting when it does.
|
|---|