From: minima Date: Tue, 22 Feb 2005 13:00:42 +0000 (+0000) Subject: fix wanrning for VERSION X-Git-Tag: R_1_52~173 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=badfbc788acb5030fc3bf3024f91bd776689946b;p=spider.git fix wanrning for VERSION --- diff --git a/perl/Route/User.pm b/perl/Route/User.pm index d63850d8..ba03b1a9 100644 --- a/perl/Route/User.pm +++ b/perl/Route/User.pm @@ -14,10 +14,8 @@ use Route; 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,0)); -$main::build += $VERSION; -$main::branch += $BRANCH; + +main::mkver($VERSION = q$Revision$); use vars qw(%list %valid @ISA $max $filterdef); @ISA = qw(Route);