X-Git-Url: https://git.p6c8.net/selfforum.git/blobdiff_plain/9218fb0859abdc5a09758bed809b26902ae179d6..69cc2ea1cf06c310ec4079e301e360f78802c34b:/selfforum-cgi/shared/Time/German.pm diff --git a/selfforum-cgi/shared/Time/German.pm b/selfforum-cgi/shared/Time/German.pm index 2e323d0..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) # # # @@ -12,22 +12,27 @@ package Time::German; use strict; use vars qw( - @EXPORT - $VERSION + @EXPORT_OK + %EXPORT_TAGS ); ################################################################################ # # 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'} ################################################################################ # # Export # use base 'Exporter'; -@EXPORT = qw(localtime); +@EXPORT_OK = qw(localtime); +%EXPORT_TAGS = (overwrite_internal_localtime => 'localtime'); # ;-)) Thanks to Calocybe ################################################################################ #