Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Subclassing DBI and creating two connections

by renodino (Curate)
on Dec 02, 2005 at 19:52 UTC ( [id://513704]=note: print w/replies, xml ) Need Help??


in reply to Subclassing DBI and creating two connections

  1. I suspect that implementing this as a pure DBI subclass would prove a bit cumbersome; you'd effectively have to replicate the entire DBI i/f in order to route the API calls to either of your connections.

  2. That being said, you might look into DBD::Multiplex. I've not used it, but it has been updated quite recently and I know Mssr. Bunce had given it some attention at one time. It would appear to provide most of the functionality you seek.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-03-29 08:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found