David Wheeler wrote:
On Nov 1, 2005, at 12:11 PM, David Wheeler wrote:
So, what's the status on Callbacks? Are they ready to go into a release?
Ah, I see from this post:
http://www.mail-archive.com/dbi-dev@perl.org/msg03793.html
That Steven Schubiger was going to pen some docs for Callbacks. Since
that didn't happen, perhaps I should have a crack at it.
Yeah, the thread you pointed to requires a bit more than
casual knowledge of what is being discussed/implemented :^/. It'd be nice
to see some actual docs.
Also, the reason I'm following up on this is that I've found a perfect
use for callbacks. DBD::SQLite lets you declare database functions and
aggregates _in Perl_! This is a slick feature of which I plan to take
full advantage. I have a quick example here:
http://www.justatheory.com/computers/databases/sqlite/
custom_perl_aggregates.html
Any chance these would work in Pg's PL/perl, extproc_perl, or
the (whatever MySQL does) ?
While I have many other things on my plate, this might be a nice
addition to DBIx::Threaded as well (once I've got proxied closures working
in Thread::Apartment). Dispatching into another thread might have some
interesting applications...
Dean Arnold
Presicient Corp.