Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^2: Writing CSV files

by tachyon (Chancellor)
on Oct 29, 2004 at 12:03 UTC ( #403701=note: print w/replies, xml ) Need Help??

in reply to Re: Writing CSV files
in thread Writing CSV files

The default behavior for Text::CSV_XS works as you want things to.

Actually what you have shown and what Text::CSV_XS does has no relationship whatsoever to what the OP wanted.

Replies are listed 'Best First'.
Re^3: Writing CSV files
by steves (Curate) on Oct 29, 2004 at 13:38 UTC

    You are correct tachyon. It took me three cups of coffee to see that. My apologies. The issue here is rather custom since none of the CSV packages I've used will tell you if something was quoted coming in -- they hide that. It seems like to do this right you need to know what was quoted coming in and mirror that on the way out. If the rules are based on content (e.g., something that can be regexp matched) then maybe you don't need to know how it was originally.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://403701]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (10)
As of 2018-11-21 14:01 GMT
Find Nodes?
    Voting Booth?
    My code is most likely broken because:

    Results (239 votes). Check out past polls.