]> git.p6c8.net - selfforum.git/commitdiff
modified version check
authorndparker <>
Wed, 25 Jul 2001 23:43:16 +0000 (23:43 +0000)
committerndparker <>
Wed, 25 Jul 2001 23:43:16 +0000 (23:43 +0000)
selfforum-cgi/shared/Time/German.pm

index f89599c936e792ae93c63c5f37cbbd6606359291..86d91233374b174bd190e865b88f29e84dc72295 100644 (file)
@@ -4,7 +4,7 @@ package Time::German;
 #                                                                              #
 # File:        shared/Time/German.pm                                           #
 #                                                                              #
-# Authors:     Andre Malo       <nd@o3media.de>, 2001-06-10                    #
+# Authors:     André Malo <nd@o3media.de>                                      #
 #                                                                              #
 # Description: determine time offset German Time <=> GMT (seconds)             #
 #                                                                              #
@@ -14,14 +14,17 @@ use strict;
 use vars qw(
   @EXPORT_OK
   %EXPORT_TAGS
-  $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