Hi everyone

Thanks for the replies - some folks have got the wrong idea though - I am talking about %INC keys, not values. Values will, of course, be OS dependent.

perldoc perlvar discusses this:

  The hash %INC contains entries for each filename included
  via the "do", "require", or "use" operators.  The key is 
  the filename you specified (with module names converted to
  pathnames), and the value is the location of the file 
  found. The "require" operator uses this hash to determine 
  whether a particular file has already been included.
And that really doesn't give enough information IMHO.

From grantrn and bart's replies it certainly looks like it's OS independent, and that makes far more sense to me.

I'm going to perlbug this though, because I don't think the documentation is clear enough.

Thanks everyone for your replies.


In reply to Re: Are %INC keys OS dependent? by Anonymous Monk
in thread Are %INC keys OS dependent? by Anonymous Monk

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.