projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added spaces back in for clx
[spider.git]
/
perl
/
DB0SDX.pm
diff --git
a/perl/DB0SDX.pm
b/perl/DB0SDX.pm
index eef5ed66a7ad30be6ccdda99f7c1bcd33d2478ec..eaac4d0048ad83b3efd0e2c67a869fb0b31552fc 100644
(file)
--- a/
perl/DB0SDX.pm
+++ b/
perl/DB0SDX.pm
@@
-9,6
+9,12
@@
use Data::Dumper;
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 new
{
my $pkg = shift;
sub new
{
my $pkg = shift;