Re: Time to Document Callbacks
by Tim Bunce other posts by this author
Oct 24 2009 2:50PM messages near this date
Time to Document Callbacks
|
Re: Time to Document Callbacks
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
Thread:
David E. Wheeler
Tim Bunce
David E. Wheeler
Tim Bunce
David E. Wheeler
David Nicol
Tim Bunce
David E. Wheeler
Tim Bunce
David E. Wheeler
Tim Bunce
David E. Wheeler
Tim Bunce
David E. Wheeler
H.Merijn Brand
Tim Bunce
David E . Wheeler
David E. Wheeler
David E. Wheeler
David E . Wheeler
|