Jon Schutz wrote:

Following the example in the blog post, the solution is to set -Stats
and change your Root::end() method to something like:

@report = $stats->report;
$c->stash->{'action_stats'} = [EMAIL PROTECTED];

and then adjust your template as now you're getting an array of arrays
rather than an array of hashrefs.


Thanks, it's sort of working now, but I still need to run the server in debug mode even with the -Stats flag, either by setting -Debug in my main app.pm, or by starting the server with the -d flag, otherwise $c->stats->report is undefined. Nearly there?
--
Richard Jones

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to