X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FTimer.pm;h=168dd3f5fcb5490fe65e7d636b7ba401d32c34eb;hb=510a9f0644b3a0e02f5951702ada39616bfcfc2f;hp=fc1103159d2150cd3a9468669abfc3f226fc568c;hpb=3f58f5ebe86a749d9e1ab37f25b3e7c7255a1906;p=spider.git 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 {