We are testing a new version of the Perl DBD linked with the new Oracle 9i client libraries. I have two Oracle.so files, one in ~/old_perl/lib/site_perl/5.6.1/sun4-solaris/auto/DBD/Oracle/Oracle.so and one in ~/new_perl/lib/site_perl/5.6.1/sun4-solaris/auto/DBD/Oracle/Oracle.so. I can switch which version I want to test by changing my $PERLLIB environment variable.
Is there any way I can get either the DBD version or the explicit path of the Oracle.so file inside a perl script? I know I can reference the PERLLIB environment variable, but I want conclusive information from either the DBD or DBI that I am using a particular Oracle.so library.
