How can I iterate over a hash?
I'm modifying a module's defined type to accept a hash as a parameter. The keys and values of this hash are arbitrary strings that need to be formatted and passed to as arguments to an exec. Is there a way to iterate over the key/value pairs without writing a custom function? If not, what advice do you have for writing the custom function?