X-Git-Url: https://git.p6c8.net/selfforum.git/blobdiff_plain/8bd9a0d82f7e21d9340a4470258e2cad2638deca..f91793544f0d5c7f978e5cf6214d9882d7c4db7c:/selfforum-cgi/shared/Conf.pm diff --git a/selfforum-cgi/shared/Conf.pm b/selfforum-cgi/shared/Conf.pm index c0920d0..eead4dc 100644 --- a/selfforum-cgi/shared/Conf.pm +++ b/selfforum-cgi/shared/Conf.pm @@ -4,7 +4,7 @@ package Conf; # # # File: shared/Conf.pm # # # -# Authors: Andre Malo , 2001-06-16 # +# Authors: André Malo # # # # Description: read and parse configuration files # # # @@ -13,15 +13,19 @@ package Conf; use strict; use vars qw( @EXPORT - $VERSION ); use XML::DOM; ################################################################################ +# # 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'} ################################################################################ # @@ -164,8 +168,6 @@ sub parse_script_conf ($\%$) { # $Shared - /path/to/shared-dir # -- " -- # $Script - scriptname # -# Return: hashref of config hash -# sub read_script_conf ($$$) { my ($Config, $Shared, $Script) = @_; @@ -209,4 +211,4 @@ ref($_)eq 'HASH'){&hash($_,"$string\[$i] -> ")}else{if(ref($_)eq'ARRAY'){ # # -### *real* end of Conf ;-) ##################################################### +### *real* end of Conf ;-) ##################################################### \ No newline at end of file