Re: using callbacks with connect_cached

"David E. Wheeler" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.general
Message-ID <[email protected]>
On Aug 25, 2013, at 12:10 PM, Tim Bunce <[email protected]> wrote:

> p.s. I'd be delighted to get a doc patch that notes the need to use a
> lexical for the callbacks hashref on connect_cached.

Submitted: https://github.com/perl5-dbi/dbi/pull/2

> p.p.s. I'd also consider a patch to add a 'connect_cached.connected'
> callback for new connections.

Good idea! How’s this? https://github.com/perl5-dbi/dbi/pull/3

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.