Keep It Simple, Stupid | |
PerlMonks |
Re^2: Scoping question - will file handle be closed?by BrowserUk (Patriarch) |
on Jul 14, 2015 at 19:37 UTC ( [id://1134788]=note: print w/replies, xml ) | Need Help?? |
However, this automatic close does not check for errors, so it is better to explicitly close filehandles, especially those used for writing Besides knowing it, I always wondered what you're meant to do if you detect an error when closing a file? With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
I'm with torvalds on this Agile (and TDD) debunked I told'em LLVM was the way to go. But did they listen!
In Section
Seekers of Perl Wisdom
|
|