From badfbc788acb5030fc3bf3024f91bd776689946b Mon Sep 17 00:00:00 2001 From: minima Date: Tue, 22 Feb 2005 13:00:42 +0000 Subject: [PATCH] fix wanrning for VERSION --- perl/Route/User.pm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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); -- 2.43.0