we've had similar problems where i work with trying to get access to the campus' main DB2 server. apparently, when they installed it, they didn't put all the libraries in the right place and the perl executable can't find what it needs. although the Begin trick seems like it should work, access to the libraries are apparently needed even before that is executed.
the ugly workaround that we've been stuck with while trying to convince the sysadmins to set it up correctly is to wrap the script in a shell script that sets the environment variable and then calls the perl script.
i hope you can find a cleaner solution to your problem.
In reply to Re: ENV Object?
by thraxil
in thread ENV Object?
by Warped
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |