|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: New release of Text::CSV_XS won't build on Windows, prob a gcc input error (CygwinPerl)by kcott (Archbishop) |
| on Aug 02, 2025 at 11:39 UTC ( [id://11165931]=note: print w/replies, xml ) | Need Help?? |
|
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).
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:
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 Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||