Re: Time to Document Callbacks

Tim Bunce <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <[email protected]>
On Sat, Oct 24, 2009 at 08:45:42AM -0700, David E. Wheeler wrote:
> Tim,
>
> I think it's high time we documented callbacks. I'm pretty sure the 
> DBIx::Class folks are going to want to make use of them shortly. I'd be 
> happy to contribute the docs.

Great!

> Is there a way to get a list of all possible callback keys? 

Callbacks are handled by the method dispatcher so all method names are
valid (so don't bother trying to list them in the docs :)

Plus the two special cases for connect_cached: 'connect_cached.new' and
'connect_cached.reused'. (There's also '*' but that's not really recommended.)

Thanks!

Tim.

p.s. Might be worth skimming through the archives
http://tinyurl.com/yl582mt
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.