From: ndparker <> Date: Wed, 25 Jul 2001 23:43:16 +0000 (+0000) Subject: modified version check X-Git-Url: https://git.p6c8.net/selfforum.git/commitdiff_plain/e0e1833d60647df91b471bff59ba257fa202eb36?ds=sidebyside modified version check --- 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'} ################################################################################ #