projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
alias 'w' to 'who'
[spider.git]
/
perl
/
Prot.pm
diff --git
a/perl/Prot.pm
b/perl/Prot.pm
index 67741752c0b495f094bc7a5dbf898857cb0136f4..7435ae963e7c95566057c745c5f862288a0d3b73 100644
(file)
--- a/
perl/Prot.pm
+++ b/
perl/Prot.pm
@@
-6,6
+6,13
@@
package Prot;
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;
+
use DXUtil;
use DXDebug;
use vars qw(%valid);
use DXUtil;
use DXDebug;
use vars qw(%valid);