in reply to Testing $! when use strict is in effect

The error is not about $! but about EWOULDBLOCK. You will need to import it, most likely from Errno.

Replies are listed 'Best First'.
Re^2: Testing $! when use strict is in effect
by Bloehdian (Beadle) on Oct 20, 2016 at 19:00 UTC

    Thx, works ;-)