Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

by merlyn (Sage)
on Apr 19, 2005 at 13:56 UTC ( #449244=note: print w/replies, xml ) Need Help??


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

But you need to recompile Perl for those... Config.pm is just a Perl version of the config.sh script... editing Config.pm does nothing!

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on Re^4: modifying @INC other than use lib?

Replies are listed 'Best First'.
Re^5: modifying @INC other than use lib?
by bsdz (Friar) on Apr 19, 2005 at 15:08 UTC
    That's funny; I relocate my Perl port niPerl without recompiling. I use a VBScript to do the relocation that edits Config.pm during the MSI installation process. I've had no complaints yet, seems to work too. I believe ActiveState do the same sort of thing.

      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.

      /J\

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2020-01-18 14:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?