X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FAMsg.pm;h=15596a98196958e3e2185e0d76cb09ca397f26da;hb=89e4fd14125a1eb60cfd9ad2938614083ddaeb67;hp=0b94c15d4bfc48a2d810b030919255dc6b208b56;hpb=1f1385fe9e70e3609c2fdd6fe63a285d7a21e482;p=spider.git diff --git a/perl/AMsg.pm b/perl/AMsg.pm index 0b94c15d..15596a98 100644 --- a/perl/AMsg.pm +++ b/perl/AMsg.pm @@ -22,10 +22,8 @@ use Thingy; use Thingy::Hello; 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; + +main::mkver($VERSION = q$Revision$); use vars qw(@ISA $deftimeout);