Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^5: modifying @INC other than use lib?

by bsdz (Friar)
on Apr 19, 2005 at 15:08 UTC ( #449274=note: print w/replies, xml ) Need Help??

in reply to Re^4: modifying @INC other than use lib?
in thread modifying @INC other than use lib?

That's funny; I relocate my Perl port niPerl without recompiling. I use a VBScript to do the relocation that edits during the MSI installation process. I've had no complaints yet, seems to work too. I believe ActiveState do the same sort of thing.
  • Comment on Re^5: modifying @INC other than use lib?

Replies are listed 'Best First'.
Re^6: modifying @INC other than use lib?
by gellyfish (Monsignor) on Apr 19, 2005 at 15:17 UTC

    ActivePerl uses a script reloc_perl to do this which in turn uses a module ActiveState::RelocateTree which documentation says:

    Perl can't just be copied into a new location without relocating some files. In Windows this is less of a problem because the executable knows its actual location and uses that to find its library tree. On Unix, the location of the libraries must be encoded within the perl binary.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2022-05-22 14:10 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (80 votes). Check out past polls.