Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Config Files in Perl

by blazar (Canon)
on Nov 22, 2006 at 22:34 UTC ( #585634=note: print w/replies, xml ) Need Help??


in reply to Re: Config Files in Perl
in thread Config Files in Perl

I prefer using XML-based config files and using, say, XML::Simple to parse the file. It is just about as easy as parsing name=value files.

I sort-of second that, except that I'd use YAML. Even if one doesn't know it (I don't really), it should be easy enough to look at some samples and imitate them, or instruct one about how to do so in a few words. It's more human readable and writable IMHO.

Replies are listed 'Best First'.
Re^3: Config Files in Perl
by geekphilosopher (Friar) on Nov 22, 2006 at 22:37 UTC
    I agree, YAML is great. Loading and saving a config is dead easy, and the config is very human read/writable.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2020-11-26 21:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?