$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.
$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.