Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 surveying the Monastery: (18)
As of 2014-12-18 14:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (56 votes), past polls