X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FBBS.pm;h=a39b41a538ac8dc78857a850fae374669f43af62;hb=2b58ccdf81685a1167a43c38705a0d84b9d8d661;hp=a014ecfe225f7c92e9d6b9819f795f901108c9fd;hpb=06cf973726ecfc228d68bc82b63feb026d897a68;p=spider.git diff --git a/perl/BBS.pm b/perl/BBS.pm index a014ecfe..a39b41a5 100644 --- a/perl/BBS.pm +++ b/perl/BBS.pm @@ -26,6 +26,12 @@ $lastbidclean = time; # the last time the bid file was cleaned $bidcleanint = 86400; # the time between bid cleaning intervals $maxbidage = 60; # the maximum age of a stored bid +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 { tie %hash, 'DB_File', $bidfn; @@ -139,3 +145,5 @@ sub process } +1; +