Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: DB -> C++ -> XS/Swig -> DBI -> Perl

by salva (Canon)
on Jan 29, 2014 at 11:09 UTC ( [id://1072479]=note: print w/replies, xml ) Need Help??


in reply to DB -> C++ -> XS/Swig -> DBI -> Perl

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!

  • Comment on Re: DB -> C++ -> XS/Swig -> DBI -> Perl

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1072479]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-19 20:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found