]> git.p6c8.net - selfforum.git/blobdiff - selfforum-cgi/shared/Conf/Admin.pm
modified version check
[selfforum.git] / selfforum-cgi / shared / Conf / Admin.pm
index c834c37206819056304af97b080417f53ede07a9..ac0d8dc3ab27c7c89df85dfa4c4e310f792f87bd 100644 (file)
@@ -4,7 +4,7 @@ package Conf::Admin;
 #                                                                              #
 # File:        shared/CheckRFC.pm                                              #
 #                                                                              #
-# Authors:     Andre Malo       <nd@o3media.de>, 2001-06-16                    #
+# Authors:     André Malo <nd@o3media.de>                                      #
 #                                                                              #
 # Description: read and parse admin default config                             #
 #                                                                              #
@@ -13,7 +13,6 @@ package Conf::Admin;
 use strict;
 use vars qw(
   @EXPORT
-  $VERSION
 );
 
 use Lock;
@@ -24,7 +23,11 @@ use XML::DOM;
 #
 # 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