The problem is that I want to run everything with 5.8.5 modules , but there whatever I install goes in 5.10.1 directory - for instance I am installing Proc::Daemon module , which i am expecint to be installed in 5.8.5 directories - mdstest@mds-qa2 Proc-Daemon-0.03$ ls Changes Daemon.pm Makefile.PL MANIFEST README t mdstest@mds-qa2 Proc-Daemon-0.03$ perl Makefile.PL PREFIX=/usr/lib/perl5/5.8.5/i386-linux-thread-multi Checking if your kit is complete... Looks good Writing Makefile for Proc::Daemon mdstest@mds-qa2 Proc-Daemon-0.03$ make cp Daemon.pm blib/lib/Proc/Daemon.pm Manifying blib/man3/Proc::Daemon.3 mdstest@mds-qa2 Proc-Daemon-0.03$ make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00modload.t ..... ok t/01filecreate.t .. ok All tests successful. Files=2, Tests=2, 5 wallclock secs ( 0.01 usr 0.06 sys + 0.02 cusr 0.17 csys = 0.26 CPU) Result: PASS mdstest@mds-qa2 Proc-Daemon-0.03$ sudo make install Appending installation info to /usr/lib/perl5/5.8.5/i386-linux-thread-multi/lib/perl5/5.10.1/i686-linux/perllocal.pod mdstest@mds-qa2 Proc-Daemon-0.03$ see , it is getting installed in /usr/lib/perl5/5.8.5/i386-linux-thread-multi/lib/perl5/5.10.1/i686-linux/perllocal.pod directories What should I do in this case ?

In reply to Re^2: removing paths permanantly from @INC and adding new ones by onkar
in thread removing paths permanantly from @INC and adding new ones by onkar

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.