X-Git-Url: https://git.p6c8.net/selfforum.git/blobdiff_plain/4efca15bb2136c3e226eb4e372776fad95a955c9..ca5bd65df2cf8a11ce49091dbe666c5792d28aa2:/selfforum-cgi/shared/Lock/_static.pm

diff --git a/selfforum-cgi/shared/Lock/_static.pm b/selfforum-cgi/shared/Lock/_static.pm
index 37233de..6d58b2d 100644
--- a/selfforum-cgi/shared/Lock/_static.pm
+++ b/selfforum-cgi/shared/Lock/_static.pm
@@ -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'}
 
 ################################################################################
 #