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 22, 2013, at 10:53 PM, Vincent Veyron <[email protected]> wrote:

>> Note that DBI will reset all the attributes every time connect_cached is called. Maybe you need to delete one or more of the attributes in a connect_cached.reused callback?
> 
> The problem is that connect_cached.reused never gets triggered (hence
> the absence of caching)

Right, duh. What if you change the callback to return a true value?

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.