]> git.p6c8.net - selfforum.git/blobdiff - selfforum-cgi/shared/Time/German.pm
Admin.pm: hide_posting()/recover_posting(): thread and forum XML files are now locked...
[selfforum.git] / selfforum-cgi / shared / Time / German.pm
index 2e323d0dbffd6c5d41a1570e52da496c246d17cd..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)             #
 #                                                                              #
@@ -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
 
 ################################################################################
 #

patrick-canterino.de