[EMAIL PROTECTED] 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. _______________________________________________ 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/[email protected]/
