in reply to Re^2: txt to csv
in thread txt to csv

Which part are you having trouble with: Adding parameters to the constructor call, or understanding the portion of the POD that explains what parameters to add? Who wrote the code you're currently using?

The line you need to modify is line 7. You'll be adding parameters to your call to the constructor (the new() method).


Dave

Replies are listed 'Best First'.
Re^4: txt to csv
by torres09 (Acolyte) on Jun 24, 2013 at 05:44 UTC

    I have written the line 7 as

     my $csv = Text::CSV->new(({ binary => 1, eol => $/ }));

    still it puts " before and after every word

      So you haven't read the POD yet, or ventured to try any of the parameters that deal with quoting. Try that first.

      And how did serene_monk suddenly become torres09. You're posting SoPW questions and follow-ups under two names? Odd.


      Dave