]> git.p6c8.net - selfforum.git/blobdiff - selfforum-cgi/shared/Arc/Test.pm
modified version check
[selfforum.git] / selfforum-cgi / shared / Arc / Test.pm
index 6851912d315370a10445523448906b928965e148..b2706f3af408158ddc0d0df8726beba953abb3c1 100644 (file)
@@ -4,20 +4,33 @@ package Arc::Test;
 #                                                                              #
 # File:        shared/Arc/Test.pm                                              #
 #                                                                              #
 #                                                                              #
 # 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                                       #
 #                                                                              #
 ################################################################################
 
 use strict;
 #                                                                              #
 # Description: check on obsolete threads                                       #
 #                                                                              #
 ################################################################################
 
 use strict;
+use vars qw(
+  @EXPORT
+);
+
+################################################################################
+#
+# Version check
+#
+# last modified:
+#    $Date$ (GMT)
+# by $Author$
+#
+sub VERSION {(q$Revision$ =~ /([\d.]+)\s*$/)[0] or '0.0'}
 
 ################################################################################
 #
 # Export
 #
 use base qw(Exporter);
 
 ################################################################################
 #
 # Export
 #
 use base qw(Exporter);
-@Arc::Test::EXPORT = qw(get_obsolete_threads);
+@EXPORT = qw(get_obsolete_threads);
 
 ### sub get_obsolete_threads ($) ###############################################
 #
 
 ### sub get_obsolete_threads ($) ###############################################
 #
@@ -110,7 +123,7 @@ sub get_obsolete_threads ($) {
   [sort {$a <=> $b} splice @sorted => 0, $obsolete];
 }
 
   [sort {$a <=> $b} splice @sorted => 0, $obsolete];
 }
 
-# keep require happy
+# keep 'require' happy
 1;
 
 #
 1;
 
 #

patrick-canterino.de