X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXMsg.pm;h=b4470f66c8f3866485dfb9ebfd816ac16a0294ff;hb=66efc9cee6be378f570c0f08f0f41ba739a3d8d2;hp=c87fd2e4ec5b316433e9749f28aa525a0098cb8d;hpb=b91254375e95e7931312c4177ee390866f82c648;p=spider.git diff --git a/perl/DXMsg.pm b/perl/DXMsg.pm index c87fd2e4..b4470f66 100644 --- a/perl/DXMsg.pm +++ b/perl/DXMsg.pm @@ -27,6 +27,13 @@ use IO::File; use Fcntl; 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(%work @msg $msgdir %valid %busy $maxage $last_clean @badmsg @swop $swopfn $badmsgfn $forwardfn @forward $timeout $waittime $queueinterval $lastq $importfn $minchunk $maxchunk $bulltopriv);