Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Creating .csv file with comma

by soonix (Canon)
on Apr 24, 2020 at 05:24 UTC ( #11116001=note: print w/replies, xml ) Need Help??


in reply to Creating .csv file with comma

Your problem is not the comma, but the quotes. You are using Text::CSV, yet want to do the work yourself. Let Text::CSV do its work instead of introducing that additional pair of quotes. If you entered the data into an Excel sheet, you wouldn't enter additional quotes around text cells with commas either, would you?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2021-02-27 04:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?