Trying to turn a csv file into a text file with headers using Text::csv
Hi Everybody I’m quite new to perl modules and I am having real difficulties getting the right output for my file. I use strict and warnings as a matter of course.The first part is all fine and dandy taking an uplode file. The header file contains the order and seperation that I desire for my output, some of the values are from the input.csv file the others are just headings which I want to print to the output file for each line (which corresponds to an item), so input from the csv file plus the headings in the correct order filling the gaps as it were. Here is the code I’m trying to use
Trying to turn a csv file into a text file with headers using Text::csv
Hi Everybody I’m quite new to perl modules and I am having real difficulties getting the right output for my file. I use strict and warnings as a matter of course.The first part is all fine and dandy taking an uplode file. The header file contains the order and seperation that I desire for my output, some of the values are from the input.csv file the others are just headings which I want to print to the output file for each line (which corresponds to an item), so input from the csv file plus the headings in the correct order filling the gaps as it were. Here is the code I’m trying to use
Trying to turn a csv file into a text file with headers using Text::csv
Hi Everybody I’m quite new to perl modules and I am having real difficulties getting the right output for my file. I use strict and warnings as a matter of course.The first part is all fine and dandy taking an uplode file. The header file contains the order and seperation that I desire for my output, some of the values are from the input.csv file the others are just headings which I want to print to the output file for each line (which corresponds to an item), so input from the csv file plus the headings in the correct order filling the gaps as it were. Here is the code I’m trying to use