From e0e1833d60647df91b471bff59ba257fa202eb36 Mon Sep 17 00:00:00 2001 From: ndparker <> Date: Wed, 25 Jul 2001 23:43:16 +0000 Subject: [PATCH] modified version check --- selfforum-cgi/shared/Time/German.pm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/selfforum-cgi/shared/Time/German.pm b/selfforum-cgi/shared/Time/German.pm index f89599c..86d9123 100644 --- a/selfforum-cgi/shared/Time/German.pm +++ b/selfforum-cgi/shared/Time/German.pm @@ -4,7 +4,7 @@ package Time::German; # # # File: shared/Time/German.pm # # # -# Authors: Andre Malo , 2001-06-10 # +# Authors: André Malo # # # # 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'} ################################################################################ # -- 2.34.1