[Catalyst] Catalyst::Plugin::DBIC::QueryLog

Matt S Trout dbix-class at trout.me.uk
Mon Sep 3 20:08:40 GMT 2007


On Sat, Sep 01, 2007 at 04:08:09AM +0000, Fayland Lam wrote:
> hi, guys.
> 
> since I can't touch Cory Watson by gphat at cpan.org <mailto:gphat at cpan.org>
> so I wonder if this module is fine?

No, it's awful. There's no reason at all for this to be a plugin.

I'd suggest you make it a mixin for Catalyst::Model::DBIC::Schema instead.

(otherwise how do you deal with two DBIC models each with their own
querylog etc. etc.)

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director    Want a managed development or deployment platform?
 Shadowcat Systems Ltd.  Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/                    http://www.shadowcat.co.uk/ 



More information about the Catalyst mailing list