]> git.p6c8.net - selfforum.git/blobdiff - selfforum-cgi/shared/Arc/Test.pm
fo_delete.pl needed access to this configuration file.
[selfforum.git] / selfforum-cgi / shared / Arc / Test.pm
index aacc92eec7be63e73706f0383e6424ebf21bbbb3..b2706f3af408158ddc0d0df8726beba953abb3c1 100644 (file)
@@ -4,7 +4,7 @@ package Arc::Test;
 #                                                                              #
 # File:        shared/Arc/Test.pm                                              #
 #                                                                              #
-# Authors:     Andre Malo       <nd@o3media.de>, 2001-04-27                    #
+# Authors:     André Malo <nd@o3media.de>                                      #
 #                                                                              #
 # Description: check on obsolete threads                                       #
 #                                                                              #
@@ -13,14 +13,17 @@ package Arc::Test;
 use strict;
 use vars qw(
   @EXPORT
-  $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'}
 
 ################################################################################
 #

patrick-canterino.de