Here's a quick primer on reading Perl data structures:
- 'something' => (any data structure) - a hash key/value pair.
- [ (a list of things) ] - an arrayref,
- { key => value, .. } - a hashref
- ( key => value, .. ) - a hash
So, using those rules, your
'hostattributes' key has a value of an arrayref that contains two elements, each of which is a hashref, each of which contains five key/value pairs. Because this is a hash, the keys can appear in any order.
Alex / talexb / Toronto
Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.