Skip Menu |

This queue is for tickets about the Dancer-Plugin-DebugToolbar CPAN distribution.

Report information
The Basics
Id: 70012
Status: resolved
Priority: 0/
Queue: Dancer-Plugin-DebugToolbar

People
Owner: Nobody in particular
Requestors: dave [...] seleno.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Error when called from 'before'
Date: Thu, 4 Aug 2011 02:44:22 -0700
To: bug-Dancer-Plugin-DebugToolbar [...] rt.cpan.org
From: David Seleno <dave [...] seleno.net>
The code below causes the error: Use of uninitialized value $time_start in subtraction (-) at /usr/local/share/perl/5.10.1/Dancer/Plugin/DebugToolbar.pm line 168. Code: before sub { enable_debug_toolbar() ; }
On Thu Aug 04 05:44:48 2011, dave@seleno.net wrote: Show quoted text
> The code below causes the error: > > Use of uninitialized value $time_start in subtraction (-) at > /usr/local/share/perl/5.10.1/Dancer/Plugin/DebugToolbar.pm line 168. > > Code: > before sub { > > enable_debug_toolbar() ; > > }
The plugin will be initialized differently in the next version (through the app configuration file), so this won't be an issue anymore. Thanks for the report.