]> git.p6c8.net - selfforum.git/blobdiff - selfforum-cgi/shared/Lock/_static.pm
sort threads by number, not alphabetically
[selfforum.git] / selfforum-cgi / shared / Lock / _static.pm
index 37233deed1310d0a79667b1ddf83e919d3d1b725..6d58b2dbb80319cedd754d84d86c1848f652a8de 100644 (file)
@@ -4,7 +4,7 @@ package Lock::_static;
 #                                                                              #
 # File:        shared/Lock/_static.pm                                          #
 #                                                                              #
-# Authors:     Andre Malo       <nd@o3media.de>, 2001-05-25                    #
+# Authors:     André Malo <nd@o3media.de>                                      #
 #                                                                              #
 # Description: belongs to Locking and Filehandle class                         #
 #              NO PUBLIC USE                                                   #
@@ -14,17 +14,17 @@ package Lock::_static;
 ################################################################################
 
 use strict;
-use vars qw(
-  $VERSION
-);
-
 use Carp;
 
 ################################################################################
 #
 # 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