Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by techgrrl (Acolyte)
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (16)
As of 2015-07-06 13:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (74 votes), past polls