The error is not about $! but about EWOULDBLOCK. You will need to import it, most likely from Errno.
In reply to Re: Testing $! when use strict is in effect
by Corion
in thread Testing $! when use strict is in effect
by Bloehdian
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |