]> git.p6c8.net - selfforum.git/blobdiff - selfforum-cgi/shared/Lock/_simple.pm
Admin.pm: hide_posting()/recover_posting(): thread and forum XML files are now locked...
[selfforum.git] / selfforum-cgi / shared / Lock / _simple.pm
index 7aae43ac4409601267a79ffd5c00277d4144db90..e281b127d9e61b2e0fabe63d1352cdbe7e23a380 100644 (file)
@@ -4,7 +4,7 @@ package Lock::_simple;
 #                                                                              #
 # File:        shared/Lock/_simple.pm                                          #
 #                                                                              #
 #                                                                              #
 # File:        shared/Lock/_simple.pm                                          #
 #                                                                              #
-# Authors:     Andre Malo       <nd@o3media.de>, 2001-05-25                    #
+# Authors:     André Malo <nd@o3media.de>                                      #
 #                                                                              #
 # Description: belongs to Locking and Filehandle class                         #
 #              NOT FOR PUBLIC USE                                              #
 #                                                                              #
 # Description: belongs to Locking and Filehandle class                         #
 #              NOT FOR PUBLIC USE                                              #
@@ -12,17 +12,17 @@ package Lock::_simple;
 ################################################################################
 
 use strict;
 ################################################################################
 
 use strict;
-use vars qw(
-  $VERSION
-);
-
 use Fcntl;
 
 ################################################################################
 #
 # Version check
 #
 use Fcntl;
 
 ################################################################################
 #
 # 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'}
 
 ### sub _simple_esna ###########################################################
 #
 
 ### sub _simple_esna ###########################################################
 #

patrick-canterino.de