in reply to Creating a CSV file

I believe there is a module out there that does this (I'm sure someone will post what it is), but in the meantime:

1. add a third option to split in order to limit the number of results (e.g. split( ':', $_, 2 ) will return two elements based upon the first encountered ":")
2. The headers and values will match, by definition.

However, this doesn't work well for multiple values of your headers (e.g. multiple Update Times, etc.) as you'll only get the last value.