Home » Infrastructure » Unix » Libraries are resetting the global environment
Libraries are resetting the global environment [message #213873] Fri, 12 January 2007 10:34
rr9876r
Messages: 12
Registered: April 2005
Junior Member
Hey,

The gollowing libraries are resetting the global environment variables in unix perl script.

perl script is
#!/vol/perl/5.8/bin/perl

use lib "/vol/perl/5.8/DBD/oracle9.2/lib/site_perl/5.8.1/sun4-solaris";
use Oraperl;
#
twot=$TWO_TASK;
print "$OID";
twoID=$OID;
passw=$pass;
print "TASK: $twot";
print "ID: $twoID";
print "Pass: $pass \n";
#

The TWO_TASK, OID and pass variables are initialized in .profile.

I am not familiar with these libraries. Is there a option not to initialize unix environment vars?

Thank you
Previous Topic: pass arguments to a .sql file that is being called from a shell
Next Topic: parallel_max_servers parameter
Goto Forum:
  


Current Time: Thu Mar 28 19:58:31 CDT 2024