From 2a7a2a84545e6e3f987bef9f55da82943343a434 Mon Sep 17 00:00:00 2001 From: minima Date: Sun, 29 Sep 2002 21:40:35 +0000 Subject: [PATCH] make lasttime global --- perl/Timer.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl/Timer.pm b/perl/Timer.pm index fc110315..168dd3f5 100644 --- a/perl/Timer.pm +++ b/perl/Timer.pm @@ -10,7 +10,7 @@ package Timer; -use vars qw(@timerchain $notimers); +use vars qw(@timerchain $notimers $lasttime); use DXDebug; @timerchain = (); @@ -22,7 +22,7 @@ $BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ || (0,0)) $main::build += $VERSION; $main::branch += $BRANCH; -my $lasttime = 0; +$lasttime = 0; sub new { -- 2.43.0