Skip to content

Doesn't work with "file" option #7

@nigelhorne

Description

@nigelhorne

$self->{'data'} = Text::CSV::Slurp->load(file => $slurp_file, %options);

gives:

Can't call method "getline" on an undefined value at /Users/hornenj/perl5/perlbrew/perls/perl-5.26.0/lib/site_perl/5.26.0/Text/CSV/Slurp.pm line 97.

Also looks like you don't check if the Text::CSV->new() fails.

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