in reply to Configuration file design

I like curly-bracket block formatting, myself:

main { root=/path/to/root filepath=/path/to/files ftp_instances=01 02 03 } ftp01 { sourcepath=/source/path/on/server savepath=/save/files/here }

If you've never used Parse::RecDescent before, the above is a great way to learn. The grammar for the above is fairly simple.

I don't really like the look of XML files, but they do have the advantage that, using XML::Simple, most of the work is already done for you.

"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.