projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[spider.git]
/
perl
/
BBS.pm
diff --git
a/perl/BBS.pm
b/perl/BBS.pm
index a014ecfe225f7c92e9d6b9819f795f901108c9fd..9e8998748f6ee89ea884bc7b76babef1f609c2c1 100644
(file)
--- 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
$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,0));
+$main::build += $VERSION;
+$main::branch += $BRANCH;
+
sub init
{
tie %hash, 'DB_File', $bidfn;
sub init
{
tie %hash, 'DB_File', $bidfn;
@@
-139,3
+145,5
@@
sub process
}
}
+1;
+