]> git.p6c8.net - selfforum.git/blobdiff - selfforum-cgi/shared/Arc/Starter.pm
removed global variable $VERSION
[selfforum.git] / selfforum-cgi / shared / Arc / Starter.pm
index 905a33acaa61d64b088e87279e7b5a3f183f53eb..c7fe64e8ae6b736acf35b840127147c6d8467bda 100644 (file)
@@ -4,7 +4,7 @@ package Arc::Starter;
 #                                                                              #
 # File:        shared/Arc/Starter.pm                                           #
 #                                                                              #
-# Authors:     Andre Malo       <nd@o3media.de>, 2001-07-16                    #
+# Authors:     André Malo <nd@o3media.de>                                      #
 #                                                                              #
 # Description: start severancer and archiver                                   #
 #                                                                              #
@@ -13,14 +13,17 @@ package Arc::Starter;
 use strict;
 use vars qw(
   @EXPORT
-  $VERSION
 );
 
 ################################################################################
 #
 # Version check
 #
-$VERSION = do { my @r =(q$Revision$ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r };
+# last modified:
+#    $Date$ (GMT)
+# by $Author$
+#
+sub VERSION {(q$Revision$ =~ /([\d.]+)\s*$/)[0] or '0.0'}
 
 ################################################################################
 #

patrick-canterino.de