Assuming you haven't moved things around since installing perl5.6.1, the reason that Apache cannot find the libraries in the 5.6.1 directories is that the web server is running the perl5.6.0. If you actually manage to get perl5.6.0 to look in the 5.6.1 directories, you will then be running perl5.6.0 with the perl5.6.1 libraries, which seems like a bad idea. (If you built 5.6.1 and then moved the directories around, your perl installation will be all confused because the contents of @INC are compiled into the perl binary.)

I've thought of a few possible solutions:

You haven't given details about the problems you experienced when you upgraded to 5.6.1 previously, but I would like to point out that perl5.6.1 fixes many bugs from the 5.6.0 release; see the 5.6.1 perldelta for more details.

* I don't know a lot about Apache; I suppose it may be possible to get Apache running with perl5.6.1 instead of perl5.6.0 without rebuilding the web server.


In reply to Re: Multiple Perl Installations by chipmunk
in thread Multiple Perl Installations by zane

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.