good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^5: How do I make the garbage collector throw an exception when it fails to auto-close a filehandle?by ikegami (Patriarch) |
on Jan 14, 2007 at 06:22 UTC ( [id://594613]=note: print w/replies, xml ) | Need Help?? |
If you attempted to limit the effect of the change to that one function (and those it calls) using local *IO::Handle::DESTROY = sub { ... };, your code wouldn't be thread-safe.
In Section
Seekers of Perl Wisdom
|
|