The load method creates an instance of Text::CSV, calls getline until it returns undef, and then throws away the CSV object without checking for errors! Thus a user of Text::CSV::Slurp will silently lose data if their CSV file contains problems, unless they thought to add the "auto_diag" option to the Text::CSV options.
Please set ( auto_diag => 2 ) in the default options, or at least warn people somehow if there were errors in their CSV file!
The load method creates an instance of Text::CSV, calls getline until it returns undef, and then throws away the CSV object without checking for errors! Thus a user of Text::CSV::Slurp will silently lose data if their CSV file contains problems, unless they thought to add the "auto_diag" option to the Text::CSV options.
Please set ( auto_diag => 2 ) in the default options, or at least warn people somehow if there were errors in their CSV file!