I see that you have multiple versions of perl installed via Cygwin. When a new perl version is installed via Cygwin, are older versions' modules uninstalled, as haukex suggested above? Based on your post, it seems like that is not the case.
If I run it using perl5.32.1, I receive the following output:
> /usr/bin/perl5.32.1.exe -E 'use strict; use warnings; say for @INC; +use Data::Dumper; print Dumper \%INC;' /home/Special_K/perl_modules /usr/local/lib/perl5/site_perl/5.32/x86_64-cygwin-threads /usr/local/share/perl5/site_perl/5.32 /usr/lib/perl5/vendor_perl/5.32/x86_64-cygwin-threads /usr/share/perl5/vendor_perl/5.32 /usr/lib/perl5/5.32/x86_64-cygwin-threads /usr/share/perl5/5.32 $VAR1 = { 'feature.pm' => '/usr/share/perl5/5.32/feature.pm', 'Data/Dumper.pm' => '/usr/lib/perl5/5.32/x86_64-cygwin-threa +ds/Data/Dumper.pm', 'overloading.pm' => '/usr/share/perl5/5.32/overloading.pm', 'strict.pm' => '/usr/share/perl5/5.32/strict.pm', 'warnings.pm' => '/usr/share/perl5/5.32/warnings.pm', 'warnings/register.pm' => '/usr/share/perl5/5.32/warnings/re +gister.pm', 'bytes.pm' => '/usr/share/perl5/5.32/bytes.pm', 'Exporter.pm' => '/usr/share/perl5/5.32/Exporter.pm', 'constant.pm' => '/usr/share/perl5/5.32/constant.pm', 'XSLoader.pm' => '/usr/share/perl5/5.32/XSLoader.pm', 'Carp.pm' => '/usr/share/perl5/5.32/Carp.pm' };
If however I try to run that command using perl5.30.3.exe, I receive the following error:
> /usr/bin/perl5.30.3.exe -E 'use strict; use warnings; say for @INC; +use Data::Dumper; print Dumper \%INC;' Can't locate feature.pm in @INC (you may need to install the feature m +odule) (@INC contains: /home/Special_K/perl_modules /usr/local/lib/pe +rl5/site_perl/5.30/x86_64-cygwin-threads /usr/local/share/perl5/site_ +perl/5.30 /usr/lib/perl5/vendor_perl/5.30/x86_64-cygwin-threads /usr/ +share/perl5/vendor_perl/5.30 /usr/lib/perl5/5.30/x86_64-cygwin-thread +s /usr/share/perl5/5.30).
In reply to Re^2: help fixing module paths after upgrading perl in cygwin
by Special_K
in thread help fixing module paths after upgrading perl in cygwin
by Special_K
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |