Just to satisfy my curiosity: I have installed on my Windows system ActiveState Perl 5.8.8, and Cygwin with Perl 5.10.1. On a cmd.exe shell, perl -V displays:
which is exactly what I expect. In a Cygwin bash shell, perl -V displays:@INC: C:/Perl588_822/site/lib C:/Perl588_822/lib .
The funny part are the two directories mentioning Perl 5.8. Neither do they exist, nor do I think that they appear as side-effect from my 5.8.8 installation (which was already present at the time when I installed Cygwin Perl), because the version number says 5.8, not 5.8.8.@INC: /usr/lib/perl5/5.10/i686-cygwin /usr/lib/perl5/5.10 /usr/lib/perl5/site_perl/5.10/i686-cygwin /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/vendor_perl/5.10/i686-cygwin /usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .
These extra directories in the @INC path don't harm, but I'm curious to know where they come from.
If someone reading this, happens to have installed Cygwin Perl 5.10.1, could you please check your @INC and let me know whether you have these directories too?In reply to Cygwin Perl: Question about default @INC by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |