![]() |
|
Perl Monk, Perl Meditation | |
PerlMonks |
Re^4: replicating the command 'unset LIBPATH' in perlby viffer (Beadle) |
on May 18, 2010 at 06:35 UTC ( #840453=note: print w/replies, xml ) | Need Help?? |
Again thanks. I have put it in a BEGIN statement - and again, whilst it does appear to unset the libpath, it doesn't enable me to connect to the database. The *only* command that seems to work is running unset LIBPATH prior to running the script.
It would seem the super user account has the db2profile as default environment. It runs both applications which require db2inst1 profile (db2 v8) and db2inst2 profile (db2 v9). The thought is now to consider setting db2profile env before app start and not having db2profile in the super user profile - although the person charged with doing that seems overly reticent (without giving his reasons) to do it. Cheers for your help
In Section
Seekers of Perl Wisdom
|
|