Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by techgrrl (Sexton)
on Feb 01, 2013 at 16:36 UTC ( #1016583=note: print w/replies, xml ) Need Help??


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)?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016583]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2016-12-04 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (65 votes). Check out past polls.