projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix $BRANCH auto revisioning code
[spider.git]
/
perl
/
Timer.pm
diff --git
a/perl/Timer.pm
b/perl/Timer.pm
index fc1103159d2150cd3a9468669abfc3f226fc568c..0ab2af10bd48807de026cdcc3593adcb7c47ea6f 100644
(file)
--- a/
perl/Timer.pm
+++ b/
perl/Timer.pm
@@
-10,7
+10,7
@@
package Timer;
package Timer;
-use vars qw(@timerchain $notimers);
+use vars qw(@timerchain $notimers
$lasttime
);
use DXDebug;
@timerchain = ();
use DXDebug;
@timerchain = ();
@@
-18,11
+18,11
@@
$notimers = 0;
use vars qw($VERSION $BRANCH);
$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
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));
+$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/
,
(0,0));
$main::build += $VERSION;
$main::branch += $BRANCH;
$main::build += $VERSION;
$main::branch += $BRANCH;
-
my
$lasttime = 0;
+$lasttime = 0;
sub new
{
sub new
{