Oracle libraries are loaded when perl is already running1, while loading DBD::Oracle. So you can modify %ENV inside Perl, as long as you do so before loading DBD::Oracle. Typically, you would use a BEGIN block in the main script, before the use DBI / use DBD::Oracle lines.
Alexander
1) Exception to the rule: ancient oraperls, that link perl and Oracle code into a single executable
In reply to Re^2: setting environment variable issue
by afoken
in thread setting environment variable issue
by Samy_rio
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |