I used to have different Perl versions between Cygwin and MS Windows. Cygwin was at Perl 5.8 and Windows was at 5.10.1.

Along the way, I hit some button that upgraded Cygwin and the result appears to be that both are at Perl 5.10.1

I don't know how to explicitly maintain different versions.
The Cygwin upgrade apparently figured out that I had a more recent Perl and it used it. How and why? I don't know. But that appears to be what happened.

C:\Projects>perl -V Set up gcc environment - 3.4.5 (mingw-vista special r3) Summary of my perl5 (revision 5 version 10 subversion 1) configuration +: .... Locally applied patches: ActivePerl Build 1007 [291969] 0abd0d disable non-unicode case insensitive trie matching Built under MSWin32 Compiled at Jan 26 2010 23:15:11 @INC: C:/Perl/site/lib C:/Perl/lib . C:\Projects>bash bash-3.2$ perl -V Set up gcc environment - 3.4.5 (mingw-vista special r3) Summary of my perl5 (revision 5 version 10 subversion 1) configuration +: .... Locally applied patches: ActivePerl Build 1007 [291969] 0abd0d disable non-unicode case insensitive trie matching Built under MSWin32 Compiled at Jan 26 2010 23:15:11 @INC: C:/Perl/site/lib C:/Perl/lib . bash-3.2$

In reply to Re: Cygwin Perl: Question about default @INC by Marshall
in thread Cygwin Perl: Question about default @INC by rovf

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.