in reply to Re: Add Quotes to entries in a file
in thread Add Quotes to entries in a file

ABC;"123";"";"";"";"";"HELLO";""

niseus does not appear to want (what at first glance one would expect to be) the empty field at the end of each of the OPed example records; the semicolon seems to serve as both a field delimiter and as a record delimiter. Just to keep things simple. I'm not sure how to handle that with straight Text::CSV; my guess is the final semicolon needs separate operations to deal with it.


Give a man a fish:  <%-{-{-{-<