On Wed, Jul 18, 2007 at 07:39:40PM +0200, Ben Staude wrote: > Am Mittwoch 18 Juli 2007 19:26 schrieb Ben Staude: > > [snip] > > > Making a patch for this unfortunately is far beyond my horizon. Has it at > > all been intended to have mk_classaccessor in ::Storage::Statistics? If > > not, what's the recommonded way to store class data (effectivly, I collect > > the executed sql statements as class data for logging)? > > Ooops, I just found that's not true... I use it for per-object, not class > data. But still, what to use instead of mk_classaccessor? Can I safely use > $self->{my_data} on a ::Storage::Statistics object?
Or just do __PACKAGE__->mk_group_accessors(simple => 'my_data'); -- 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.shadowcatsystems.co.uk/ _______________________________________________ List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class Wiki: http://dbix-class.shadowcatsystems.co.uk/ IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/ Searchable Archive: http://www.mail-archive.com/dbix-class@lists.rawmode.org/