Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: How to create relocatable perl 5.20.1 ? ( Portable.pm)

by Anonymous Monk
on Sep 26, 2014 at 00:26 UTC ( [id://1102061]=note: print w/replies, xml ) Need Help??


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 :)

  • Comment on Re: How to create relocatable perl 5.20.1 ? ( Portable.pm)

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1102061]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-19 14:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found