From: Gavin Sinclair Date: 2003-12-18T13:51:45+09:00 Subject: Re: Configuration Files > > That sounds like a great config file system. I rolled my own basic one > not too long ago, but having seen this, I'm thinking I'd replace it. :) > > One thing I did in mine which I kind of like, but has drawbacks, is a > sort of grouping, where: > [plugin.player] > class=CommandPlayer > command=mpg123 > > is the same as: > plugin.player.class=CommandPlayer > plugin.player.command=mpg123 > I have a really cool way of specifying config files. It goes like this: plugin: player: class: CommandPlayer command: mpg123 However, the code for parsing this is a secret :) Gavin