Syntactic Confectionery Delight | |
PerlMonks |
Re^3: the annoying keys "key" and "value"by ikegami (Patriarch) |
on Dec 23, 2010 at 21:28 UTC ( [id://878883]=note: print w/replies, xml ) | Need Help?? |
An array of hashes whose elements are 'key' and 'value'. It preserves the order of the pairs, and allows for duplicate keys. This structure would be useful for storing an HTML form, for example. If you don't care about losing the order of the pairs, and you don't care about clobbering duplicate keys, you can flatten the structure using one of the following:
In Section
Seekers of Perl Wisdom
|
|