SPUG: Change perl's libpth on the fly?

Jamie Shaffer jshaffer at chronology.com
Tue Jan 18 17:59:40 CST 2000


jimfl wrote:

>     > How can I change perl's libpth *without* rebuilding perl?
>      > Is there some variable that I can set that will take care of
>      > this?  Maybe some cool switch that I haven't seen.
>      >
>      > You can check the lib path on your system with 'perl -V'
>      >
>      > I can't run GD or and of those cool Term:: modules until
>      > I get this libpth fixed so if anyone knows, please tell.
>
>   Permanently and inviariantly, no.

Then again, maybe you can.

You can tweak some of the variables in the ASCII files Config.pm and
config.h after Perl has been compiled. We change the variables
archlibexp, installarchlib, installprivlib, prefix, and privlibexp when we
provide Perl for customers to install on their own systems. (An installation
script fills these in based on where the customer decided to put the Perl
directory.) The variable "libpth" is also in this file; we don't change it but
you may find that you can make use of it. You will find these files in your
Perl installation under lib...in ours it is in perl/lib/5.00503/<platform> (your
path may be different).


>
>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>     POST TO: spug-list at pm.org        PROBLEMS: owner-spug-list at pm.org
>  Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
>  SUBSCRIBE/UNSUBSCRIBE: Replace ACTION below by subscribe or unsubscribe
>         Email to majordomo at pm.org: ACTION spug-list your_address





 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    POST TO: spug-list at pm.org        PROBLEMS: owner-spug-list at pm.org
 Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
 SUBSCRIBE/UNSUBSCRIBE: Replace ACTION below by subscribe or unsubscribe
        Email to majordomo at pm.org: ACTION spug-list your_address





More information about the spug-list mailing list