Skip to content

load silently loses data without auto_diag option #4

@nrdvana

Description

@nrdvana

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions