Hi folks,
I have to process about 10 files and to make the data from these files (let's say input file) available in another format (let's say output file). So basically I take the data, manipulate it and print it in another file. Each input file contains about 60 records, each one containing some information lines and 600 numbers. For the moment I have an array for each record containing the data, and I have currently 2 possibilities (I think) create an hash to have acces to each record of one input file and make the ouput file after processing all the file or printing my data in the output file directly while I am in each record loop. I was thinking the second one would be better but still the access time to the file may be quite big!!!
What do you think would be better? Any advise would be great!
Thanks,
Eve, (Still a french girl lost in California..hoping I am understandable!)
Thanks!
I have to process about 10 files and to make the data from these files (let's say input file) available in another format (let's say output file). So basically I take the data, manipulate it and print it in another file. Each input file contains about 60 records, each one containing some information lines and 600 numbers. For the moment I have an array for each record containing the data, and I have currently 2 possibilities (I think) create an hash to have acces to each record of one input file and make the ouput file after processing all the file or printing my data in the output file directly while I am in each record loop. I was thinking the second one would be better but still the access time to the file may be quite big!!!
What do you think would be better? Any advise would be great!
Thanks,
Eve, (Still a french girl lost in California..hoping I am understandable!)
Thanks!