Hi,

I am quite a novice with mod downloads and I am trying to download the LWP mod. Of course, I want to make sure I do everything right. The mod in CPAN is version 5.805. So, I found a perl version in the server that is higher - 5.8.5. I placed the mod in /usr/local/lib/perl5/5.8.5

Besides the all too typical failures for lack of other mods, I was concerned about my @INC.

Part of the output states:

Can't locate URI.pm in @INC (@INC contains: /usr/perl5/5.00503/sun4-solaris /usr/perl5/5.00503 /usr/perl5/site_perl/5.005/sun4-solaris /usr/perl5/site_perl/5.005 .) at Makefile.PL line 148, <STDIN> chunk 7.

Should I be concerned about @INC's paths? I don't know if perhaps version 5.85 falls back on a lower version for some reason. In fact, I don't know where @INC gets its values from. Is it defined for a given user? I kind of expected its paths to be at least partly determined by the version of perl I was using.

What should I do with @INC?

Thanks!

Tony

In reply to Basic @INC Question Related to Succesful Mod Installs by o2bwise

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.