in reply to can I move an installled Perl build?

Yes, it's compiled in (e.g., run strings /path/to/your/perl). I think I once changed it by carefully editing the perl binary (IIRC, the length of each path must be the same or less), and then editing the Config.pm file, but Buyer Beware and YMMV. I recommend recompiling.

Replies are listed 'Best First'.
Re^2: can I move an installled Perl build?
by cadphile (Beadle) on Oct 27, 2011 at 23:27 UTC

    I found this in CPAN, and a similar script in ActiveState (reloc_perl):

    PPM::RelocPerl.pm

    It does a binary edit, as you said...

    Can't link homedir -- don't have root on server

    The -Duserelocatableinc option is interesting... have to think about how to best use relative paths in @INC.
    Probably can just use a wrapper to set the calling directory...

    I think I'll just recompile everything...
    probably easier in the long run!

    thanks,
    -Cadphile