$csv = Text::CSV_XS->new ({ binary => 1, eol => "\n", auto_diag => 1 });