in reply to Reading configuration file with only v5.8

Config::ApacheFormat is a good bet if you ever feel to go for a CPAN configuration parser module
Alternate way would be storing array reference in a hash as you said.
Thanks
  • Comment on Re: Reading configuration file with only v5.8

Replies are listed 'Best First'.
Re^2: Reading configuration file with only v5.8
by salva (Canon) on Dec 22, 2005 at 09:51 UTC
    I have used Config::ApacheFormat in a recent project and the experience was not completely positive. In my opinion its API is too simplistic and incomplete, focused in solving the common cases and if you want to do something no so common, you can't.

    For instance, I wanted to define which keywords and blocks were allowed inside each block (as inside <Foo> only Bar and Doz are allowed) but it was not supported and that was important to generate meaningful error reports.

    Or I wanted to set the duplicate_directives attribute by directive but I couldn't because it is global.