Skip Menu |

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

Report information
The Basics
Id: 58489
Status: rejected
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] use parent
Date: Thu, 17 Jun 2010 10:28:46 -0400
To: bug-template-timer [...] rt.cpan.org
From: Caleb Cushing <xenoterracide [...] gmail.com>
base is somewhat deprecated in favor of parent. Signed-off-by: Caleb Cushing <xenoterracide@gmail.com> --- parent has been in perl core since 5.10.1 I suppose you may not want to apply this yet because 5.10.1 isn't in debian stable, also RHEL 6 isn't out which will have it. Timer.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Timer.pm b/Timer.pm index b5502ff..74ccbc9 100644 --- a/Timer.pm +++ b/Timer.pm @@ -57,7 +57,7 @@ will be doubled up, and slightly longer than the PROCESS call. =cut -use base qw( Template::Context ); +use parent qw( Template::Context ); use Time::HiRes (); our $depth = 0; -- 1.7.1
No, thank you.