|
|
| There's more than one way to do things | |
| PerlMonks |
Re: Cannot Remove Redefined Warningsby Tux (Canon) |
| on May 06, 2025 at 06:15 UTC ( [id://11164958]=note: print w/replies, xml ) | Need Help?? |
|
The cause of this new warning is withing the perl core itself, caused this commit. It happens only when using threads and the boot code of DBD::Oracle is called twice. Then the boot code tries to re-install the oracle specific methods and constants using DBI's internal install_method call. You can indeed suppress that warning in DBI.pm, using something similar to
but that sweeps the warning under the carpet. narrowing the scope, the warning is generated from the call cv = newXS_flags (meth_name, XS_DBI_dispatch, file)<c> in <c>DBI.xs in _install_method. My personal opinion is that the boot code of DBD::Oracle is wrong, but at this moment, I have no idea of how to fix that. Enjoy, Have FUN! H.Merijn
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||