http://www.perlmonks.org?node_id=394155


in reply to Re^3: Catching errors in closing lexical filehandles
in thread Catching errors in closing lexical filehandles

I think so! Not speaking as an expert here, but as a programming language user: once a variable goes out of scope, it is effectively out of the game. If going out of scope frees memory, wonderful. If it does other useful things like close files as well, wonderfuller. And if it does this at the best likely time, wonderfullest :)