in reply to Re^2: CSV SPLIT
in thread CSV SPLIT
As kcott posted, there are almost no circumstances where you should use split to retrieve or store CSV data due to problems similar to those you've encountered. Text::CSV and its close relatives will happily get/put data between a CSV file and an array, and deal with the separators in data properly by quoting them. Once the row is in the array you can process it anyway you like.
If you post some example data and what you'd like to happen to it, perhaps we can give you a more detailed answer. Don't forget to use <code> tags to show your data in the question properly
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: CSV SPLIT
by serene_monk (Initiate) on Jun 21, 2013 at 05:54 UTC | |
by space_monk (Chaplain) on Jun 21, 2013 at 05:56 UTC |