# No eol and auto_diag > 1 will cause die's on error (with diagnostics) my $csv = Text::CSV_XS->new ({ binary => 1, auto_diag => 2 });