Hi,
I need to convert an array of hashes into XLS or basically CSV format.
Is there an easy way to do this with a pre-written module?
I was thinking i could do a loop over the array, using the 'keys' operator and a flag to only produce a row with the keys (column headings) once, then the data.
Should I simply just handroll it as described or can I save some time with a pre-written module?
Many thanks
1DMF
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!
I need to convert an array of hashes into XLS or basically CSV format.
Is there an easy way to do this with a pre-written module?
I was thinking i could do a loop over the array, using the 'keys' operator and a flag to only produce a row with the keys (column headings) once, then the data.
Should I simply just handroll it as described or can I save some time with a pre-written module?
Many thanks
1DMF
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!