X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FPrefix.pm;h=954490fcf41e2798ad39ba6c6951b89002922dd5;hb=2b58ccdf81685a1167a43c38705a0d84b9d8d661;hp=34f581d0e79d224db018d01557fca1a1bf373156;hpb=06cf973726ecfc228d68bc82b63feb026d897a68;p=spider.git diff --git a/perl/Prefix.pm b/perl/Prefix.pm index 34f581d0..954490fc 100644 --- a/perl/Prefix.pm +++ b/perl/Prefix.pm @@ -15,6 +15,13 @@ use Data::Dumper; use DXDebug; 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 vars qw($db %prefix_loc %pre); $db = undef; # the DB_File handle