Think about Loose Coupling | |
PerlMonks |
Re: DB -> C++ -> XS/Swig -> DBI -> Perlby salva (Canon) |
on Jan 29, 2014 at 11:09 UTC ( [id://1072479]=note: print w/replies, xml ) | Need Help?? |
You could fork the DBD source code for your particular database and replace the part where the connection is set up for some other that calls that C++ library.
It is difficult to give you a more detailed response without knowing the details (which database is being used, what do you get from that C++ library, etc.). Maybe you could just open the binary object for that C++ library from Perl and use a couple of regular expressions to extract the database user and password!
In Section
Seekers of Perl Wisdom
|
|