]> git.p6c8.net - selfforum.git/blobdiff - selfforum-cgi/shared/Arc/Test.pm
modified version check
[selfforum.git] / selfforum-cgi / shared / Arc / Test.pm
index aacc92eec7be63e73706f0383e6424ebf21bbbb3..c0f6ba92b27e037c27b75f5f1a013d4fad054cb0 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                                       #
 #                                                                              #
@@ -20,7 +20,11 @@ use vars qw(
 #
 # 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