SPUG: Change perl's libpth on the fly?
Jamie Shaffer
jshaffer at chronology.com
Tue Jan 18 17:22:21 CST 2000
Does setting the environment variable PERL5LIB get the results you want?
PERL5LIB, PERL5OPT and possibly a few other environment variables are
available to you to tweak such things.
Ryan Erwin wrote:
> My OpenBSD distro came with perl's libpth set to '/usr/lib'
> instead of '/usr/lib /usr/local/lib' or something else that
> would be useful ;)
>
> 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.
>
> Thanks-
>
> Ryan Erwin [ryan at erwin.org]
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> 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