Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Configuration files: most widely used modules?

Reply
Thread Tools

Configuration files: most widely used modules?

 
 
Eric Bohlman
Guest
Posts: n/a
 
      01-03-2006
CPAN is full of various modules and frameworks for managing configuration
files: AppConfig, Config::IniFiles, Config::YAML, Config::Std, and so on.
Which ones do people here actually use the most? Which ones seem most
appropriate for which purposes (I doubt there's a "one size fits all")?
What do you think the strengths and weaknesses of the various modules are?

Don't worry, I'm *not* planning on writing Yet Another Configuration
System. I'm just not as familiar with the intimate details of working with
any configuration system as I should be, and I'd prefer to spend my time
studying the ones that I'm actually likely to encounter in existing code or
want to use in new code.
 
Reply With Quote
 
 
 
 
usenet@DavidFilmer.com
Guest
Posts: n/a
 
      01-03-2006
Eric Bohlman wrote:
> CPAN is full of various modules and frameworks for managing configuration
> files: AppConfig, Config::IniFiles, Config::YAML, Config::Std, and so on.
> Which ones do people here actually use the most? Which ones seem most
> appropriate for which purposes (I doubt there's a "one size fits all")?
> What do you think the strengths and weaknesses of the various modules are?


CPAN is also full of complete descriptions of these modules which
describe their capabilities. What part of those descriptions is
unclear?

I don't think anyone has ever done a survey to compile data on module
usage. Most programmers pick the one that fits their data model (.ini
file, XML, etc). I generally prefer Config::IniFiles (even on UNIX
systems). Don't discount Data:umper for config files.

 
Reply With Quote
 
 
 
 
Eric Bohlman
Guest
Posts: n/a
 
      01-03-2006
wrote in
news: oups.com:

> Eric Bohlman wrote:
>> CPAN is full of various modules and frameworks for managing
>> configuration files: AppConfig, Config::IniFiles, Config::YAML,
>> Config::Std, and so on. Which ones do people here actually use the
>> most? Which ones seem most appropriate for which purposes (I doubt
>> there's a "one size fits all")? What do you think the strengths and
>> weaknesses of the various modules are?

>
> CPAN is also full of complete descriptions of these modules which
> describe their capabilities. What part of those descriptions is
> unclear?


Nothing. The documentation simply doesn't address the questions I raised,
which are not the sort of thing that purely technical documentation should
deal with anyway.
 
Reply With Quote
 
Ron Savage
Guest
Posts: n/a
 
      01-03-2006


On Tue, 3Jan 2006 17:19:35 +1100, Eric Bohlman wrote:



 



Hi Eric




Config::General has become myfavourite, after I dabbled in the complexity of the set of modules yourefer to. It supports complex, hierarchical, formats, which ultimatelymeans you can do just about anything with that one module, rather thanhaving to switch later.



 



Within CGI scripts based onCGI::Application (my preferred basis), the same config files as used byConfig::General can be read with CGI::Application:lugin::Config::Context.Neat.



 



Config::Simple is very nice, too. Onecustomer asked me to use it because they had a Debian package for it, whichsimplified installation in their customers' machines.



 

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
seldom vs rare in "How widely used" question Pavel C++ 1 12-05-2011 03:38 AM
C99 is widely used! jacob navia C Programming 27 02-26-2010 12:24 AM
How widely used is the IEEE numeric_std package? Chuck Roth VHDL 3 09-14-2005 10:25 PM
How widely used is Docbook? Bucco XML 2 08-10-2005 12:12 AM
Which version of Ruby is most widely used? Randy Lawrence Ruby 13 07-06-2004 11:42 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57