From: minima Date: Sun, 29 Sep 2002 21:40:35 +0000 (+0000) Subject: make lasttime global X-Git-Tag: PRE-1-52~176 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=2a7a2a84545e6e3f987bef9f55da82943343a434;p=spider.git make lasttime global --- 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 {