in reply to Errno being set to strange values when using IO::Poll

What if you localize $! in your handler?