I have some Perl stuff that was started up by an expert who is unavaible at this time and left me to finish it. I can't get it to work and I don't know Perl very much other than sort of being able to follow what it is supposed to be doing.
I have text files that need to be put into fields in a SQL table. The sql part I understand.
Each record in the text file has a "header" and the line begins with '100','field1','field2', etc. The next several lines are the detail '200','field2','field2', etc and I only want the header info to go into SQL.
I'm not sure what parts of my code I need to include as an example, but if anyone knows the basic code that would do this I'm open to suggestions.
I have text files that need to be put into fields in a SQL table. The sql part I understand.
Each record in the text file has a "header" and the line begins with '100','field1','field2', etc. The next several lines are the detail '200','field2','field2', etc and I only want the header info to go into SQL.
I'm not sure what parts of my code I need to include as an example, but if anyone knows the basic code that would do this I'm open to suggestions.