Re: Adding a library to @INC
- From: tallison@xxxxxxxxxxx (Tom Allison)
- Date: Thu, 28 Jul 2005 06:32:57 -0400
Wiggins d'Anconia wrote:
Normally you add to the @INC using the PERL5LIB environment variable. If "oracle>" represents a normal bash shell, then,
export PERL5LIB="/path/to/lib/dir"
Should do the trick. If it is actually the Oracle client then you might try the same because *theoretically* the subprocess should inherit and respect the same environment.
I'm trying to do the same under a Solaris install at work and for some reason that I can't find ( insufficient man pages on box ), I can't get my Environment of ~/.profile to be recognized from crontab entries.
Any other options under Solaris that I should try?
I know, I'm on the OT fringe here, maybe someone can give me an answer using perl -i ?? :)
.
- Follow-Ups:
- Re: Adding a library to @INC
- From: Wiggins d'Anconia
- Re: Adding a library to @INC
- From: Xavier Noria
- Re: Adding a library to @INC
- References:
- Adding a library to @INC
- From: Jay Caviness
- Re: Adding a library to @INC
- From: Wiggins d'Anconia
- Adding a library to @INC
- Prev by Date: passing hash data from one subroutine to another using refs
- Next by Date: Re: Adding a library to @INC
- Previous by thread: Re: Adding a library to @INC
- Next by thread: Re: Adding a library to @INC
- Index(es):
Relevant Pages
|