Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Subclassing DBI and creating two connections

by renodino (Curate)
on Dec 02, 2005 at 19:52 UTC ( #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.
  • Comment on Re: Subclassing DBI and creating two connections

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2023-12-02 22:25 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (19 votes). Check out past polls.