[Dbix-class] using DBIx::Class::Storage::Statistics per the Cookbook

Richard Jolly Richard.Jolly at bbc.co.uk
Fri Aug 11 16:31:33 CEST 2006


dbix-class-bounces at lists.rawmode.org wrote:
> I'm trying to get some query statistics using the methods
> suggested in DBIx::Class::Manual::Cookbook, but I haven't had
> any success yet.
> When I try adding the lines:
> 
>   __PACKAGE__->storage()->debugobj(new My::Profiler());
>   __PACKAGE__->storage()->debug(1);
> 
> to my schema class file, Catalyst refuses to start with the message:
> 
>   "Can't call method "debugobj" on an undefined value"

[snip]

Did you get a solution to this? I'd like to do the same thing.

Richard

http://www.bbc.co.uk/

This e-mail (and any attachments) is confidential and may contain
personal views which are not the views of the BBC unless specifically
stated.
If you have received it in error, please delete it from your system. 
Do not use, copy or disclose the information in any way nor act in
reliance on it and notify the sender immediately. Please note that the
BBC monitors e-mails sent or received. 
Further communication will signify your consent to this.





More information about the Dbix-class mailing list