Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^3: How to create relocatable perl 5.20.1 ? ( reloc_perl)

by Anonymous Monk
on Sep 26, 2014 at 07:34 UTC ( #1102092=note: print w/replies, xml ) Need Help??

in reply to Re^2: How to create relocatable perl 5.20.1 ? (
in thread How to create relocatable perl 5.20.1 ?

Did you read what you linked says? says perl dwimperl-linux-5.20.1-2-x86_64/perl/bin/reloc_perl dwimperl-linux-5.20.1-2-x86_64/perl/bin/ so why don't you do that, why don't you use

The is not really what I want here as that would require the users to change their code

Sure it wouldn't require that of users as there is PERL5OPT/ sitecustomize ..... wait a minute there :)

When you install any relocatable perl, the installer updates Config; If whatever installer you're providing your users doesn't do this, give them a or a so that %Config gets updated when they install this new perl, once its installed, they can move it and run relocateperl again

So maybe I misunderstand what Portable does.

It updates %Config ... flash/usb drive? you stick it in, it gets a new driveletter ... all of %Config paths are now wrong ... it fixes this

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

Its quite pure-perl, it comes with citrusperl, its specific to citrusperl , which makes an .exe for it ... citrusperl\apps\scripts\relocateperl.xpl and citrusperl\apps\scripts\citrusutils.xpl

You can find "reloc_perl.bat" from ActiveState at Changing Perl Config settings, How to move a windows perl installation??, reloc_perl - copy a perl installation to a new location, ActiveState::RelocateTree - copy tree substituting paths at the same time

Strawberry installer/relocator portion is this parts

Basically update and fixup paths in pl2bat-ed files

CitrusPerl is a perl distribution maker/distributor, make your own CitrusSzabgabPerl :)

  • Comment on Re^3: How to create relocatable perl 5.20.1 ? ( reloc_perl)

Replies are listed 'Best First'.
Re^4: How to create relocatable perl 5.20.1 ? ( reloc_perl)
by Anonymous Monk on Sep 26, 2014 at 07:42 UTC
    um szabgab is maintainer of dwimperl? Um, I guess he figured it out :) good luck buddy

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2023-12-04 20:05 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (25 votes). Check out past polls.