1. Different distrobutions compile in different lists of "default" library paths. Usually as a way of making sure that modules you install with CPAN don't overwrite/get overwritten by modules installed using the distrobutions own packaging system.

  2. If a directory is in your @INC because of the $ENV{PERL5LIB}, then it will also show up in the %ENV section just above @INC. I don't believe anything similar happens for directories added using -I

    laptop:~> setenv PERL5LIB /perl5lib/env/var laptop:~> perl -V -I /dash/I | tail -15 Built under linux Compiled at Apr 4 2004 05:57:53 %ENV: PERL5LIB="/perl5lib/env/var" @INC: /dash/I /perl5lib/env/var /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl .
  3. The Config module tells you all sorts of info on how your perl was built...

    laptop:~> perl -l -MConfig -e'while(($k,$v)=each(%Config)) { print "$k +=$v" if $k =~ /lib/i or $v =~ /lib/i }' | head archlibexp=/usr/lib/perl/5.6.1 installarchlib=/usr/lib/perl/5.6.1 installprivlib=/usr/share/perl/5.6.1 libpth=/usr/local/lib /lib /usr/lib libs=-lgdbm -ldb -ldl -lm -lc -lcrypt privlibexp=/usr/share/perl/5.6.1 archlib=/usr/lib/perl/5.6.1 config_arg11=-Dsitelib=/usr/local/share/perl/5.6.1 config_arg12=-Dsitearch=/usr/local/lib/perl/5.6.1 config_arg21=-Duseshrplib

In reply to Re: perl -V by hossman
in thread perl -V by water

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.