in reply to Re: Why is the error thrown from close(FH) when the error is the missing <> on while(FH)?
in thread Why is the error thrown from close(FH) when the error is the missing <> on while(FH)?

Thank you Ken!

That was the source of my confusion. To summarize the answer: PERL reports multi-line errors at the end, and the close(FH) at the end of the piece of code was a red-herring.

That was not behavior I was expecting.

Have a great day!

TechGrrl
  • Comment on Re^2: Why is the error thrown from close(FH) when the error is the missing <> on while(FH)?