On Sat, Mar 14, 2009 at 08:41, Michael Renner <[email protected]> wrote: > Moin, snip > 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. * http://en.wikipedia.org/wiki/Yaml ** http://search.cpan.org/dist/YAML-Syck/lib/YAML/Syck.pm -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read. -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
