rovf has asked for the wisdom of the Perl Monks concerning the following question:
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Cygwin Perl: Question about default @INC
by mr.nick (Chaplain) on Jan 09, 2012 at 13:52 UTC | |
|
Re: Cygwin Perl: Question about default @INC
by Eliya (Vicar) on Jan 09, 2012 at 16:00 UTC | |
|
Re: Cygwin Perl: Question about default @INC
by Marshall (Canon) on Jan 09, 2012 at 16:24 UTC | |
by choroba (Cardinal) on Jan 09, 2012 at 16:35 UTC | |
by Marshall (Canon) on Jan 09, 2012 at 16:46 UTC | |
by wiredrat (Acolyte) on Jan 10, 2012 at 16:17 UTC |