X-Git-Url: https://git.p6c8.net/selfforum.git/blobdiff_plain/4efca15bb2136c3e226eb4e372776fad95a955c9..e0e1833d60647df91b471bff59ba257fa202eb36:/selfforum-cgi/shared/Lock/Unlink.pm diff --git a/selfforum-cgi/shared/Lock/Unlink.pm b/selfforum-cgi/shared/Lock/Unlink.pm index d7bd6ec..b4770f3 100644 --- a/selfforum-cgi/shared/Lock/Unlink.pm +++ b/selfforum-cgi/shared/Lock/Unlink.pm @@ -4,7 +4,7 @@ package Lock::Unlink; # # # File: shared/Lock/Unlink.pm # # # -# Authors: Andre Malo , 2001-05-25 # +# Authors: André Malo # # # # Description: Locking and Filehandle class # # using the atomic behavior of unlinkig files # @@ -12,17 +12,17 @@ package Lock::Unlink; ################################################################################ use strict; -use vars qw( - $VERSION -); - 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_lock ########################################################### # @@ -121,4 +121,4 @@ sub exsh_announced {not -f shift -> exshlock} # # -### end of Lock::Unlink ######################################################## +### end of Lock::Unlink ######################################################## \ No newline at end of file