X-Git-Url: https://git.p6c8.net/selfforum.git/blobdiff_plain/7b4499e347dfca2b50bfa1d8a0c6ca1419976fbc..b9021e9738004ee35018d3ec16495b7dc1a287f0:/selfforum-cgi/shared/Conf.pm

diff --git a/selfforum-cgi/shared/Conf.pm b/selfforum-cgi/shared/Conf.pm
index ca39efd..eead4dc 100644
--- a/selfforum-cgi/shared/Conf.pm
+++ b/selfforum-cgi/shared/Conf.pm
@@ -4,7 +4,7 @@ package Conf;
 #                                                                              #
 # File:        shared/Conf.pm                                                  #
 #                                                                              #
-# Authors:     Andre Malo       <nd@o3media.de>, 2001-06-16                    #
+# Authors:     André Malo <nd@o3media.de>                                      #
 #                                                                              #
 # Description: read and parse configuration files                              #
 #                                                                              #
@@ -13,15 +13,19 @@ package Conf;
 use strict;
 use vars qw(
   @EXPORT
-  $VERSION
 );
 
 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'}
 
 ################################################################################
 #
@@ -207,4 +211,4 @@ ref($_)eq 'HASH'){&hash($_,"$string\[$i] -> ")}else{if(ref($_)eq'ARRAY'){
 
 #
 #
-### *real* end of Conf ;-) #####################################################
+### *real* end of Conf ;-) #####################################################
\ No newline at end of file