Text-CSV-Simple
view release on metacpan or search on metacpan
lib/Text/CSV/Simple.pm view on Meta::CPAN
$parser->add_trigger(on_failure => sub {
my ($self, $csv) = @_;
warn "Failed on " . $csv->error_input . "\n";
});
=cut
sub new {
my $class = shift;
return bless { _parser => Text::CSV_XS->new(@_), } => $class;
}
sub _parser { shift->{_parser} }
sub _file {
my $self = shift;
$self->{_file} = shift if @_;
return $self->{_file};
}
( run in 0.287 second using v1.01-cache-2.11-cpan-65fba6d93b7 )