From: ndparker <> Date: Tue, 26 Jun 2001 11:54:39 +0000 (+0000) Subject: changed the export mechanism of Time::German - Thanks a lot to Calocybe ;-)) X-Git-Url: https://git.p6c8.net/selfforum.git/commitdiff_plain/1212b3c6efe671f3c4e7d88eddb0a543609fe610 changed the export mechanism of Time::German - Thanks a lot to Calocybe ;-)) --- diff --git a/selfforum-cgi/shared/Posting/_lib.pm b/selfforum-cgi/shared/Posting/_lib.pm index 1f6de85..e89a0c1 100644 --- a/selfforum-cgi/shared/Posting/_lib.pm +++ b/selfforum-cgi/shared/Posting/_lib.pm @@ -19,7 +19,7 @@ use vars qw( use Encode::Plain; $Encode::Plain::utf8 = 1; -use Time::German; +use Time::German ':overwrite_internal_localtime'; use XML::DOM; ################################################################################ diff --git a/selfforum-cgi/shared/Time/German.pm b/selfforum-cgi/shared/Time/German.pm index 2e323d0..f89599c 100644 --- a/selfforum-cgi/shared/Time/German.pm +++ b/selfforum-cgi/shared/Time/German.pm @@ -12,7 +12,8 @@ package Time::German; use strict; use vars qw( - @EXPORT + @EXPORT_OK + %EXPORT_TAGS $VERSION ); @@ -27,7 +28,8 @@ $VERSION = do { my @r =(q$Revision$ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r } # Export # use base 'Exporter'; -@EXPORT = qw(localtime); +@EXPORT_OK = qw(localtime); +%EXPORT_TAGS = (overwrite_internal_localtime => 'localtime'); # ;-)) Thanks to Calocybe ################################################################################ #