![]() |
|
Just another Perl shrine | |
PerlMonks |
Re^5: The Limitations of the CPANby ysth (Canon) |
on Nov 18, 2004 at 08:42 UTC ( [id://408717]=note: print w/replies, xml ) | Need Help?? |
You incorrectly spotted what Ovid was bothered by in that open. It isn't the global filehandle reuse (though that is bad), it is not checking system calls. Lexical filehandles do not solve the problem.I see three problems with open FOO, $bar;. That kind of code just doesn't belong in anything more than a one-file script, and maybe not even there (unless it's a single-use throwaway script). I don't think this is an issue with "enterprise-level" capability at all.
In Section
Meditations
|
|