projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix typo
[spider.git]
/
perl
/
Buck.pm
diff --git
a/perl/Buck.pm
b/perl/Buck.pm
index abcb083a6ae6703d067adacef5fc6571941195e6..2c2fc5907f7b1ce8be88cf279546588976a5a941 100644
(file)
--- a/
perl/Buck.pm
+++ b/
perl/Buck.pm
@@
-8,6
+8,12
@@
use DXUtil;
@ISA = qw( HTML::Parser );
@ISA = qw( HTML::Parser );
+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;
+
use strict;
sub new
use strict;
sub new