G'day Soren,
I believe that I've warned you in the past about working directly with Cygwin's System Perl (/usr/bin/perl). If you update to the latest Cygwin Perl (v5.40.2), you'll get Text::CSV_XS version 1.60. I do Cygwin updates regularly; most recently was Friday evening (~24hrs ago).
$ /usr/bin/perl -Mstrict -Mwarnings -E ' use Text::CSV_XS; say "Perl version: $^V"; say "Perl location: $^X"; say "Text::CSV_XS version: $Text::CSV_XS::VERSION"; say "Text::CSV_XS location: $INC{q{Text/CSV_XS.pm}}"; ' Perl version: v5.40.2 Perl location: /usr/bin/perl Text::CSV_XS version: 1.60 Text::CSV_XS location: /usr/lib/perl5/vendor_perl/5.40/x86_64-cygwin-t +hreads/Text/CSV_XS.pm
I'm also reasonably certain that I recommended using Perlbrew. I updated to the lastest Perl (v5.42.0) this morning (~12hrs ago); I also installed the latest Text::CSV_XS from CPAN (version 1.61) along with many other modules.
Using Perlbrew to switch between Perl versions, and using the above code but starting with perl -Mstrict -Mwarnings -E (i.e. no /usr/bin/), here's the output using recent Perl versions:
Perl version: v5.38.0 Perl location: /home/ken/perl5/perlbrew/perls/perl-5.38.0/bin/perl Text::CSV_XS version: 1.50 Text::CSV_XS location: /home/ken/perl5/perlbrew/perls/perl-5.38.0/lib/ +site_perl/5.38.0/cygwin-thread-multi/Text/CSV_XS.pm Perl version: v5.40.0 Perl location: /home/ken/perl5/perlbrew/perls/perl-5.40.0/bin/perl Text::CSV_XS version: 1.54 Text::CSV_XS location: /home/ken/perl5/perlbrew/perls/perl-5.40.0/lib/ +site_perl/5.40.0/cygwin-thread-multi/Text/CSV_XS.pm Perl version: v5.42.0 Perl location: /home/ken/perl5/perlbrew/perls/perl-5.42.0/bin/perl Text::CSV_XS version: 1.61 Text::CSV_XS location: /home/ken/perl5/perlbrew/perls/perl-5.42.0/lib/ +site_perl/5.42.0/cygwin-thread-multi/Text/CSV_XS.pm
Consider leaving Cygwin's System Perl for Cygwin's use and start using Perlbrew for your own use and experimentation.
I'm fairly sure that solutions other than Perlbrew exist. I'm not familiar with these; perhaps another monk can advise you.
— Ken
In reply to Re: New release of Text::CSV_XS won't build on Windows, prob a gcc input error (CygwinPerl)
by kcott
in thread New release of Text::CSV_XS won't build on Windows, prob a gcc input error (CygwinPerl)
by Intrepid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |