]> git.p6c8.net - selfforum.git/blobdiff - selfforum-cgi/shared/Lock/Handle.pm
Admin.pm: hide_posting()/recover_posting(): thread and forum XML files are now locked...
[selfforum.git] / selfforum-cgi / shared / Lock / Handle.pm
index 3287f6f179076dfbb994b89f4fd090b41dee3c96..e89f4b2e3c8a416d9c41371d6d16245d9082e895 100644 (file)
@@ -4,7 +4,7 @@ package Lock::Handle;
 #                                                                              #
 # File:        shared/Lock/Handle.pm                                           #
 #                                                                              #
 #                                                                              #
 # File:        shared/Lock/Handle.pm                                           #
 #                                                                              #
-# Authors:     Andre Malo       <nd@o3media.de>, 2001-05-30                    #
+# 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,19 +12,19 @@ package Lock::Handle;
 ################################################################################
 
 use strict;
 ################################################################################
 
 use strict;
-use vars qw(
-  $VERSION
-);
+use Symbol qw(gensym);
 
 use base   qw(Lock::_static);
 
 
 use base   qw(Lock::_static);
 
-use Symbol qw(gensym);
-
 ################################################################################
 #
 # Version check
 #
 ################################################################################
 #
 # 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 new ####################################################################
 #
 
 ### sub new ####################################################################
 #

patrick-canterino.de