more useful options | |
PerlMonks |
Re^2: setting environment variable issueby afoken (Chancellor) |
on Aug 09, 2011 at 19:32 UTC ( [id://919530]=note: print w/replies, xml ) | Need Help?? |
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
-- Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
In Section
Seekers of Perl Wisdom
|
|