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: Sat Dec 10 11:07:04 CST 2016

Total time taken to generate the page: 0.07748 seconds