Changes for version 1.0.8 - 2016-10-01
- Add out_fields (alias: write_fields) attribute, allowing to define fields written in output
- Add search_ignore_accents (object attribute) and its counterpart search option ignore_accents, true by default.
- Now accept "no CSV separator" detection if input seems to contain one unique column.
- Remove accents from characters when working out field names, in all encodings (uses s/\p{Nonspacing_Mark}//g on NFKD'ed strings to be as general as possible)
- Put function remove_accents in @EXPORT_OK
- When a field is unknown and Text::AutoCSV croaks miserably, print out the list of existing fields, to bring immediate help to caller.
- utils/csvcopy.pl: Add --out_fields option Add --join (also -j) option
- On UTF-8 inputs: no longer use systematic :via(File::BOM), instead, add :via(File::BOM) only when BOM is detected. Detection (for UTF-8) is done manually, using raw file access. Reason: via(File::BOM) would produce warnings when first line of a UTF-8 encoded file (that has no BOM) would contain non-ascii characters.
Modules
helper module to automate the use of Text::CSV