in reply to Re: Cannot work on second file after reading first file.
in thread Cannot work on second file after reading first file.

Presumably Text::CSV's auto_diag attribute works correctly, so testing for error isn't so much the issue as testing for additional lines to get.


Dave

Replies are listed 'Best First'.
Re^3: Cannot work on second file after reading first file.
by McA (Priest) on Feb 28, 2014 at 16:20 UTC

    You're right. I saw it afterwards that the auto_diag flag is set. So, I'm happy I wrote "guess" ;-)

    Regards
    McA

      Good catch on the compilation error. That tells me one thing; we're not looking at actual code capable of compiling and reproducing the problem, which means we're wasting our time. The actual code could have some problem that hasn't been demonstrated.


      Dave

        I read your lines and had to lough really loud because that was exactly the same I thought seconds before. :-)

        But, come on, it's Friday and we tried it..

        Have a nice weekend
        McA