Can't locate lib.pm in @INC (@INC contains: /volumes/v1/qedms/opt/perl/lib/site_perl/5.14.1/sun4-solaris /volumes/v1/qedms/opt/perl/lib/site_perl/5.14.1 /volumes/v1/qedms/opt/perl/lib/5.14.1/sun4-solaris /volumes/v1/qedms/opt/perl/lib/5.14.1 .)

You'll be getting that error whenever you run a script that tries to load the lib.pm module.
Now, lib.pm ships as standard with perl, so I can think of only two reasons that this error might occur:
1) @INC is no longer correctly set;
2) lib.pm has been removed from its original location.

I would guess that the problem is 2), not 1) ... but there's no way I can be sure about that.
One would expect that lib.pm would *not* have originally been installed in any path that contains "site_perl", as such paths are usually reserved for *non-standard* modules ... so, we're left to guess that lib.pm would have been originally in one of the other @INC locations.

The good news is that, AFAIK, lib.pm is a pure perl module - so just grab it from anywhere and stick it in any one of the @INC locations, and all should be fine. (It doesn't really matter which @INC directory it's put in.)

The bad news is "what else went missing ??" ;-)

Cheers,
Rob

In reply to Re: error about INC by syphilis
in thread error about INC by kumbam.ashwin

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.