more useful options | |
PerlMonks |
Re: Can't use DBD::Oracle if LD_LIBRARY_PATH Not Set In Environmentby Ea (Chaplain) |
on Feb 07, 2013 at 15:10 UTC ( [id://1017674]=note: print w/replies, xml ) | Need Help?? |
I don't think you absolutely need the DBD::Oracle line. DBI should load the correct module when you connect.
My personal solution has been to hide connection details in a module which always gets installed in The Right Place, has a home for tests and makes scripts clear and concise with subs like this I use it to cache database handles and such. It's not your perfect solution, but it works for me.
Sometimes I can think of 6 impossible LDAP attributes before breakfast.
In Section
Seekers of Perl Wisdom
|
|