in reply to Simpler Config-Simple needed

You may want to use YAML for your config if what you want is arbitrary perl data structures. However, before going that route, you might want to check out Config::Std and see if it gets you close. It supports multi-valued config options out of the box.

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Replies are listed 'Best First'.
Re^2: Simpler Config-Simple needed
by perrin (Chancellor) on Oct 25, 2005 at 19:37 UTC
    I've heard too many complaints about YAML breaking to touch it at this point. It seems to be a finicky beast. I'd probably recommend plain old Perl data structures or even XML before YAML.