SmileeTiger
Programmer
I have a flat file of the following format:
field1: data1.1 field2: data2.1 field4: data4.1
field1: data1.2 field3: data3.2 field5: data5.2
That I want to convert to a delimited file so that I can import it into a spreadsheet with the following format:
field1 field2 field3 field4 field5
data1.1 data2.1 data4.1
data1.2 data3.2 data5.2
(Where there are tabs between columns)
I know the column headers that are present in the flat file ahead of time.
Does anyone have a good way to do this in perl?
field1: data1.1 field2: data2.1 field4: data4.1
field1: data1.2 field3: data3.2 field5: data5.2
That I want to convert to a delimited file so that I can import it into a spreadsheet with the following format:
field1 field2 field3 field4 field5
data1.1 data2.1 data4.1
data1.2 data3.2 data5.2
(Where there are tabs between columns)
I know the column headers that are present in the flat file ahead of time.
Does anyone have a good way to do this in perl?