[Melbourne-pm] config file parsers
Jacinta Richardson
jarich at perltraining.com.au
Tue Feb 15 17:45:27 PST 2005
The right tool for the job depends on what you're looking to put in the
config file. Config::IniHash for example allows simple .ini style files
with multi-line records.
Config::General allows a nicer multi-line records, including nested
structures at the expense of a tiny tiny bit more work. For example:
I'd suggest using Config::General. It's in Debian, I think we can count
on it staying there, it's easy to work with. One small problem you
might have with it, is that it gets *everything* out of the config file,
even if you only want access to one small section.
I haven't tried the other ones in order to comment.
All the best,
Jacinta
--
("`-''-/").___..--''"`-._ | Jacinta Richardson |
`6_ 6 ) `-. ( ).`-.__.`) | Perl Training Australia |
(_Y_.)' ._ ) `._ `. ``-..-' | +61 3 9354 6001 |
_..`--'_..-_/ /--'_.' ,' | contact at perltraining.com.au |
(il),-'' (li),' ((!.-' | www.perltraining.com.au |
More information about the Melbourne-pm
mailing list