X-Git-Url: https://git.p6c8.net/selfforum.git/blobdiff_plain/df7bba65634dbc997ba06409e25a49b8be9dd139..e0e1833d60647df91b471bff59ba257fa202eb36:/selfforum-cgi/shared/Posting/Cache.pm?ds=inline diff --git a/selfforum-cgi/shared/Posting/Cache.pm b/selfforum-cgi/shared/Posting/Cache.pm index 8cd5fdf..b940f35 100644 --- a/selfforum-cgi/shared/Posting/Cache.pm +++ b/selfforum-cgi/shared/Posting/Cache.pm @@ -4,17 +4,13 @@ package Posting::Cache; # # # File: shared/Posting/Cache.pm # # # -# Authors: André Malo , 2001-06-22 # +# Authors: André Malo # # # # Description: Views/Voting Cache class # # # ################################################################################ use strict; -use vars qw( - $VERSION -); - use Fcntl; use File::Path; use Lock; @@ -23,7 +19,11 @@ use Lock; # # 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'} my $O_BINARY = eval "O_BINARY"; $O_BINARY = 0 if ($@);