in reply to Text::CSV_XS Issue

What's the problem? You didn't ask a question.

The only time it puts quotes is if there is a space in the field.

Are you implying you want quotes to always be used? You specifically indicate that's the behaviour you want (always_quote => 0) even though that's the default. Specify a true value (always_quote => 1) if you want values to always be quoted.

Replies are listed 'Best First'.
Re^2: Text::CSV_XS Issue
by drodinthe559 (Monk) on May 28, 2009 at 18:54 UTC
    Yes, I want quotes for each field. I tried always_quote but I got the same result.
      Again, set it to something true (like 1), not something false (like 0). Demonstrate that it doesn't work if it doesn't.
        That worked. I didn't realize that I could use a one (my bad). I thought you could only use a zero. It works now. Thanks again for you help. Dave