Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: escaping commas in value when writing to a cvs file

by ibra (Novice)
on Feb 16, 2012 at 17:00 UTC ( [id://954277]=note: print w/replies, xml ) Need Help??


in reply to Re: escaping commas in value when writing to a cvs file
in thread escaping commas in value when writing to a cvs file

Hi Dave sorry didn't mention this I am using Text::CSV
  • Comment on Re^2: escaping commas in value when writing to a cvs file

Replies are listed 'Best First'.
Re^3: escaping commas in value when writing to a cvs file
by davido (Cardinal) on Feb 16, 2012 at 17:35 UTC

    What I see is that in your updated code the first line of use Text::CSV; has now been added. What I don't see is you putting the module to work in your solution. The synopsis section in the POD for Text::CSV gives several workable approaches to taking an array and turning it into a CSV string.

    The void between where the synopsis leaves you and where your code wields Text::CSV to form a solution is quite small; There are only a few lines of code from the Text::CSV POD that will need to be adapted to match your specific application. That's where the fun of programming comes in.


    Dave

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-04-23 20:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found