P is for Practical | |
PerlMonks |
Re^3: Config::Simple with vars methodby davidj (Priest) |
on Jul 06, 2004 at 05:16 UTC ( [id://372024]=note: print w/replies, xml ) | Need Help?? |
Chris, I think you need to read the documentation a little more closely. It reads: SIMPLE CONFIGURATION FILE "Simple syntax is what you need for most of your projects. These are, as the name asserts, the simplest. File consists of key/value pairs, delimited by nothing but white space." INI-FILE "These configuration files are more native to Win32 systems. Data is organized in blocks. Each key/value pair is delimited with an equal (=) sign. Blocks are declared on their own lines enclosed in (brackets):" Your not providing blocks does not make it a 'simple' file. The fact that you are using '=' as a key/value delimiter does make it an 'ini' file. If you want to use 'simple', the replace the '=' with whitespace. davidj
In Section
Seekers of Perl Wisdom
|
|