Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Config Files in Perl

by xdg (Monsignor)
on Nov 22, 2006 at 23:22 UTC ( [id://585642]=note: print w/replies, xml ) Need Help??


in reply to Config Files in Perl

Unless you expect to users to manage multi-level data structures or complex quoted structures, I'd go with the simplest possible config file, i.e. #1. Personally, I find that Config::Tiny is about as lightweight as can be and I recommend it highly.

IMO, YAML is useful only if you expect config files to be managed by programmers.

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://585642]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-24 11:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found