X-Git-Url: https://git.p6c8.net/selfforum.git/blobdiff_plain/e0e1833d60647df91b471bff59ba257fa202eb36..472dba29bb006016c24d9b7ce72b697da4fb1f57:/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