in reply to TexT::CSV and getline
The Text::CSV documentation says in part:
new
(Class method) Returns a new instance of class Text::CSV. The attributes are described by the (optional) hash ref \%attr
So your $csv construction line should be:
my $csv = Text::CSV->new({binary => 1}) ;
Note the currly braces {} instead of the parenthesis () as the argument to new.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: TexT::CSV and getline
by BernieC (Pilgrim) on Nov 05, 2020 at 15:22 UTC |