|laziness, impatience, and hubris|
Simple parse of text file to csvby OodaLoop (Initiate)
|on Dec 19, 2012 at 04:12 UTC||Need Help??|
OodaLoop has asked for the
wisdom of the Perl Monks concerning the following question:
I for the life of me cannot find a useful example for my needs. I am looking for a simple example of parsing a text file and creating a CSV file. For example something that converts this text file:
into this CSV file:
I figured this would be a common request but apparently I was wrong. Every example I've found does not fit the bill. If someone could point me to an example that I could use as a template to learn from that would be great. If it is easy to produce an example from the generic data I provided that would be great too.
Just in case being more specific is helpful, here is exactly what I'm trying to do
Into a CVS with the following contents:
Thanks for any help you can provide everyone!