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!
TechGrrlIn reply to Re^2: Why is the error thrown from close(FH) when the error is the missing <> on while(FH)?
by techgrrl
in thread Why is the error thrown from close(FH) when the error is the missing <> on while(FH)?
by techgrrl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |