http://www.perlmonks.org?node_id=1102061


in reply to How to create relocatable perl 5.20.1 ?

I think you need to load Portable.pm

FWIW, IIRC, "relocatable perl" means @INC gets automatically updated, @INC is relative to $^X ... @INC not all of %Config

Moving the perl always mean %Config had to be updated ... Portable does that updating on the fly

citrusperl provides a relocateperl which updates %Config permanently

activestate provides a Installer.bat

Strawberryperl just does it with Portable (there is a chance there is an updated but who cares :)

Replies are listed 'Best First'.
Re^2: How to create relocatable perl 5.20.1 ? ( Portable.pm)
by szabgab (Priest) on Sep 26, 2014 at 06:29 UTC
    Some excellent pointers there. thanks!

    The Portable.pm is not really what I want here as that would require the users to change their code but I just found an old e-mail thread with kmx in which we talked about this issue. So maybe I misunderstand what Portable does.

    The relocateperl of Citrusperl might do what I need here, but it is written in C and I could not find its source yet.

        um szabgab is maintainer of dwimperl? Um, I guess he figured it out :) good luck buddy