The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 1.100 - 2012-11-23

  • Backward Incompatible Bug Fix
    • Text::CSV errors are now explicitly checked when creating the object and after the last row is returned to ensure the whole file was read. This was an unfortunate oversight and deemed a dangerous bug since a CSV parse failure simply stops returning rows early. Now instead this will die with the message from Text::CSV->error_diag. This was deemed an acceptable backward incompatibility since only parsing half of the CSV would not usually be desired and there are other ways the module could die() (and so you should be ready to handle exceptions appropriately). Example errors include failure to open the file and if the parser is misconfigured or the CSV malformed and the wrong number of columns was returned. If you don't want this behavior (die on parser error) and are willing to accept only a portion of the CSV you can set (ignore_csv_errors => 1) in the constructor.

Modules

Easily load a CSV into a database table