projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add various stats commands
[spider.git]
/
perl
/
DXConnect.pm
diff --git
a/perl/DXConnect.pm
b/perl/DXConnect.pm
index a98c0c82f345f0c942be1a7f7c0afe52116302b9..4a6bbf109c899234ebe264c2437530445dbbfa10 100644
(file)
--- a/
perl/DXConnect.pm
+++ b/
perl/DXConnect.pm
@@
-16,6
+16,12
@@
use DXDebug;
use strict;
use strict;
+use vars qw($VERSION $BRANCH);
+$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
+$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ ) || 0;
+$main::build += $VERSION;
+$main::branch += $BRANCH;
+
sub init
{
sub init
{