X-Git-Url: https://git.p6c8.net/selfforum.git/blobdiff_plain/aa8d61528704dd0f5b5567f535161ffdecf4a135..71fa089ab8145e2ee2398d6fc647c886cc358f8c:/selfforum-cgi/shared/Lock/Symlink.pm diff --git a/selfforum-cgi/shared/Lock/Symlink.pm b/selfforum-cgi/shared/Lock/Symlink.pm index 82ea283..dfe8fd1 100644 --- a/selfforum-cgi/shared/Lock/Symlink.pm +++ b/selfforum-cgi/shared/Lock/Symlink.pm @@ -4,7 +4,7 @@ package Lock::Symlink; # # # File: shared/Lock/Symlink.pm # # # -# Authors: Andre Malo , 2001-05-25 # +# Authors: André Malo # # # # Description: Locking and Filehandle class # # using symlinks # @@ -12,17 +12,17 @@ package Lock::Symlink; ################################################################################ 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 ########################################################### # @@ -118,4 +118,4 @@ sub exsh_announced {-l shift -> exshlock} # # -### end of Lock::Symlink ####################################################### +### end of Lock::Symlink ####################################################### \ No newline at end of file