Re: Adding a library to @INC




On Jul 28, 2005, at 12:32, Tom Allison wrote:

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?

Sure, perldoc lib.

-- fxn
.



Relevant Pages

  • Re: Adding a library to @INC
    ... Should do the trick. ... If it is actually the Oracle client then you might ... try the same because *theoretically* the subprocess should inherit and ...
    (perl.beginners)
  • RE: DBI->connect Oracle on Windows, doesnt Work
    ... environment variable, but have you added ORACLE_HOME to your ... Yes i have added the ORACLE_HOME on my environment where it define the directory of my oracle client installation. ...
    (perl.dbi.users)