Re: Callbacks registered on class, not instance?

2012-07-21 Thread Michael Ludwig
Jenda Krynicky schrieb am 11.07.2012 um 12:23 (+0200): > > http://search.cpan.org/~timb/DBI-1.622/DBI.pm#Callbacks > > in theory, we could load the DBI module in the loader script so the > > DBI code would be there, and then we could register callbacks on the > > *class*, not on the *instance*, a

Re: Callbacks registered on class, not instance?

2012-07-11 Thread Jenda Krynicky
Date sent: Mon, 9 Jul 2012 12:36:27 +0200 From: Michael Ludwig To: dbi-users@perl.org Subject:Callbacks registered on class, not instance? > There's a huge perl process running, and we don't have access to the >

Callbacks registered on class, not instance?

2012-07-09 Thread Michael Ludwig
There's a huge perl process running, and we don't have access to the source code. We only have access to a loader script, which starts the entire process. This process is doing lots of SQL via DBI. We'd like to change that SQL a little bit. This can be done via DBI callbacks as described in the ma