On 04/28/2010 10:45 AM, Stephen M. McQuay wrote:
> However, from Wikipedia: "INI files are typically limited to two levels
> (sections and parameters) ...". I want something expressive enough to
> store hashes/arrays. It would appear that INI files are out.

There are different kinds of INI files, and they don't have to be flat.
 For example you could do multiple, nested sections by doing something like:

[path:to:my:section]

Hashes can easily be done with INI files, since a hash is just a
key=value affair.  As for arrays, I don't see why you can't have
something like

variable=array

Where array is formatted anyway you want (albeit on a single line).

--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to