Re: Adding a library to @INC



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 ?? :)
.




Relevant Pages

  • Re: socket in LISTENING state after a call to closesocket
    ... created with the "inherit handles" capability enabled. ... subprocess closes its handle, ... Apparently Process.Start or whatever you are using to start a child task is ... to find out that the framework is doing something so stupid. ...
    (microsoft.public.win32.programmer.networks)
  • Re: subprocess.Popen inheriting
    ... File descriptors are not, they exist only to please the C runtime library. ... A subprocess may inherit handles from its parent. ... "Anonymous" pipes are good to replace stdin/stdout/stderr, because there is no need to explicitely communicate the handle value to the subprocess: one just replaces the corresponding handle with the desired pipe, and the subprocess might not even notice it. ...
    (comp.lang.python)
  • Re: Executing a method in the parent class automatically after the constructor
    ... I don't know if there is any trick for this. ... several classes that inherit from A. Each of these classes should call ... It sounds like you want to use aspect oriented programming. ... Look into AspectJ ...
    (comp.lang.java.programmer)
  • Re: socket in LISTENING state after a call to closesocket
    ... created with the "inherit handles" capability enabled. ... subprocess closes its handle, ... My question was why the socket was still in LISTENING mode after I ... Apparently Process.Start or whatever you are using to start a child task is passing TRUE as the value of bInheritHandles. ...
    (microsoft.public.win32.programmer.networks)
  • Re: Adding a library to @INC
    ... "oracle>" represents a normal bash shell, then, ... Should do the trick. ... If it is actually the Oracle client then you might ... some reason that I can't find, I can't get my Environment of ~/.profile to be recognized from crontab entries. ...
    (perl.beginners)