From 42f3323cfe4eff424f4acc96ba665e666cb63b5c Mon Sep 17 00:00:00 2001 From: minima Date: Sat, 26 Feb 2005 21:35:53 +0000 Subject: [PATCH] change versioning arrangements --- perl/Sun.pm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/perl/Sun.pm b/perl/Sun.pm index 182df931..bd087742 100644 --- a/perl/Sun.pm +++ b/perl/Sun.pm @@ -33,10 +33,8 @@ require Exporter; 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($pi $d2r $r2d); -- 2.43.0