good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
You *Can* Catch errors in closing lexical filehandlesby Zaxo (Archbishop) |
on Sep 27, 2004 at 15:17 UTC ( [id://394196]=note: print w/replies, xml ) | Need Help?? |
I have no idea why eval drops this instead of converting to $@, but you can check $! after a block exit. It would be wise to clear $! beforehand so you don't see leftovers.
After Compline,
In Section
Seekers of Perl Wisdom
|
|