use Fcntl qw(F_GETFL F_SETFL O_NONBLOCK); #### use Fcntl qw(F_NOCACHE);