X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FTimer.pm;h=60ef387717f74700569c72efcb3a88b6f3e2932a;hb=b9dffeff7239952814342dad19db3a51def6fab7;hp=fc1103159d2150cd3a9468669abfc3f226fc568c;hpb=3f58f5ebe86a749d9e1ab37f25b3e7c7255a1906;p=spider.git diff --git a/perl/Timer.pm b/perl/Timer.pm index fc110315..60ef3877 100644 --- a/perl/Timer.pm +++ b/perl/Timer.pm @@ -10,19 +10,13 @@ package Timer; -use vars qw(@timerchain $notimers); +use vars qw(@timerchain $notimers $lasttime); use DXDebug; @timerchain = (); $notimers = 0; -use vars qw($VERSION $BRANCH); -$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ ); -$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 {