below is the @INC of my perl -V output
@INC: /usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/sun4-solaris-64int /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl
Here is a brief description about problem

As said in the main question. after deletion of PERL folder under OPT in Production, we replaced PERL folder from TEST box.

It was working fine and the web application was starting but some of the functionalities were not working. some of the paths in test box were qedms but in production it is edms

so we replaced qedms with edms where it is required.

Now we were trying to delete a user in edms and for that we are trying to execte a script called rm_sl_user_pr.pl when we try to do so i am getting the follwing error

[edms@nlxsl212] rchauvet $ ./rm_sl_user_pr.pl 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/sit +e_perl/5.14.1 /volumes/v1/qedms/opt/perl/lib/5.14.1/sun4-solaris /vol +umes/v1/qedms/opt/perl/lib/5.14.1 .) at ./rm_sl_user_pr.pl line 3. BEGIN failed--compilation aborted at ./rm_sl_user_pr.pl line 3.

can you please let me know how to locate lib.pm in @INC what is the procedure for that.

Thank you in advance..

Ashwin


In reply to Re^4: error about INC by kumbam.ashwin
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.