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