From: "Chas. Owens" <chas.ow...@gmail.com>
I want to get some of these values (remoteProxy, the port and the IP address
and some things more) from a configuration file. What is a good way to do
this? What is a good format for this file? Human readable and easy to parse?
snip

I like YAML*, it is human readable, cross language, and can handle
almost any data structure you need to store.  I use YAML::Syck** in
Perl to read it.

Like the Captchas that offer just images, YAML is "human" readable just for the humans that can see. It is very hard to read by the blind though.

It is also hard to use it in POD documentations because the POD indents the text and in some cases in HTML pages also.

Config::Any module allows using more configuration formats, including the pretty well known Apache style configuration (which is offered by Config::General module).

Octavian



--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to