in reply to Re: Find data point generating Error in Perl code
in thread Find data point generating Error in Perl code
I have followed your suggestion and now I keep the input file handle open while writing the output. As you had guessed, this allowed me to have the number of the line in the input file added to the warning message! thank you!
I will definitely look into the Text::CSV module since I only work with CSV files. Also, I will implement the three-argument open and error handling notation.
I have one last question: I was looking at the last code that you have written in your answer and I was wondering: does your notation mean that you read one line at the time from the CSV file or, like in mine, do you load the entire file in memory and then work on it?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Find data point generating Error in Perl code
by Anonymous Monk on Mar 17, 2015 at 21:25 UTC | |
by kgherman (Novice) on Mar 19, 2015 at 18:06 UTC | |
by Anonymous Monk on Mar 19, 2015 at 18:23 UTC | |
by kgherman (Novice) on Mar 19, 2015 at 18:52 UTC |