I found that when I attempt to parse the same csv file in a script, the parser fails. There is no obvious reset facility. Even destroying the Parse::CSV object does not seem to help, somehow the filehandle is kept open, it appears, and we return end of file at the second parse attempt.
I suggest to provide some kind of reset method or reset the parser after the end-of-file is reached.
I found that when I attempt to parse the same csv file in a script, the parser fails. There is no obvious reset facility. Even destroying the Parse::CSV object does not seem to help, somehow the filehandle is kept open, it appears, and we return end of file at the second parse attempt.
I suggest to provide some kind of reset method or reset the parser after the end-of-file is reached.
Thanks.