Skip Menu |

This queue is for tickets about the Template-Timer CPAN distribution.

Report information
The Basics
Id: 58487
Status: resolved
Priority: 0/
Queue: Template-Timer

People
Owner: Nobody in particular
Requestors: xenoterracide [...] gmail.com
Cc:
AdminCc:

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



CC: Caleb Cushing <xenoterracide [...] gmail.com>
Subject: [PATCH] limit no strict to refs only
Date: Thu, 17 Jun 2010 10:02:28 -0400
To: bug-template-timer [...] rt.cpan.org
From: Caleb Cushing <xenoterracide [...] gmail.com>
Signed-off-by: Caleb Cushing <xenoterracide@gmail.com> --- first in a series of patches to clean up timer. also seeing what happens if I use git sendemail to rt. Timer.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Timer.pm b/Timer.pm index c803055..b5502ff 100644 --- a/Timer.pm +++ b/Timer.pm @@ -65,7 +65,7 @@ our $epoch = undef; our @totals; foreach my $sub ( qw( process include ) ) { - no strict; + no strict 'refs'; my $super = __PACKAGE__->can("SUPER::$sub") or die; *{$sub} = sub { my $self = shift; -- 1.7.1
Thanks, fixed in 1.01_01.