Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Config Files in Perl

by blazar (Canon)
on Nov 22, 2006 at 22:34 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://585634]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2025-07-08 08:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.