Ah, I see, but in this case, the search got back 100 results. 1 of those, you tell me, has pertinent information. I think I mentioned at the end of my intial post on this -- "things are always much easier to find when you know where they are". In such situations, what is clearly apparent to one can be completely opaque to another.

Having read the FAQ, though it doesn't apply to what I wanted either -- it involves changing where things install by changing params to MakeMaker, which doesn't help when you are doing cpan -i modname.

Most modules don't hard-code paths in their scripts, so the fact that this one (spamassassin) did, threw me a bit. It drew it's defaults out of the fields in the perl was compiled with -- so I was trying to figure out if there was a way to change those fields after the fact, or a shim-layer to return 'corrected values' if perl was moved.

The Dist::Portable module looks to be the most straightforward, but building in the 'site.pl' option that allows arbitrary code to be run on startup might allow more convenience to configure features common in my system's scripts.

If I wanted to get fancy, I could even implement a shim-manager like MS's compatibility agent that applies the appropriate shims/binary (script) to make it compat with the current perl. Just some random musing on possibilities...

Very cool...and thanks...


In reply to Re^4: How to change idea of perl's install PREFIX after compilation? by perl-diddler
in thread How to change idea of perl's install PREFIX after compilation? by perl-diddler

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.