I’d want it global. Otherwise I’d subclass IO::Handle and instantiate that class instead; that works just as well and won’t conflict with anything else.
How does overriding DESTROY break thread safety?
Makeshifts last the longest.
In reply to Re^4: How do I make the garbage collector throw an exception when it fails to auto-close a filehandle?
by Aristotle
in thread How do I make the garbage collector throw an exception when it fails to auto-close a filehandle?
by Aristotle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |