I do know of people who keep a separate perl install(s) in their home directory for testing. I think you can find the info in the INSTALL file. Here's my suggestion: When you configure, add the system-wide /usr/lib/perl5/site_perl to your lib path to include any PP modules you have installed. It will just ignore(overlook) any compiled modules due to differing build signatures. When you add modules, they'll go in your 'private' lib directories and the existing PP with rebuilt XS and new PP will live happily. I believe this will achieve what you want.

HTH

Update: Ah, an oversight! BrowserUk stated what you wanted to know, and above is the idea to minimize losses. Here's what I meant by build signature: Slackware 9.0 ships without threading, pretty vanilla. It puts it the compiled parts in a directory, i386-linux, that is a short description of the major build options. I rebuilt my perl, now my compiled modules go into i686-linux-thread-multi-64all-ld (yeah, I picked a lot of options ;) Maybe this describes what I was trying to say better.

mhoward - at - hattmoward.org

In reply to Re: Can threaded and non threaded perl share the same compiled modules? by meredith
in thread Can threaded and non threaded perl share the same compiled modules? by EvdB

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.