Re: Time to Document Callbacks

"David E. Wheeler" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <[email protected]>
On Oct 29, 2009, at 4:24 PM, Tim Bunce wrote:

> I could arrange for Callbacks to only apply to methods called by the
> applicationi, and not to 'nested calls'. That's a fairly major change
> after this length of time but given the limited use Callbacks have  
> had,
> and the lack of documentation, it's not out of the question.
>
> The downside is that to intercept all fetched rows in a general way
> (like some kind of plugin utility module might want to do) you now  
> have
> to add callbacks for 7 $sth fetch* methods and 6 $dbh select* methods.
>
> Is that really preferable?

Well, yes. But if there were 'fetch*' and 'select*' keys that could go  
to all of them at once, that would be cool, too.

Best,

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.