in reply to -e blocking due to unaccessable network fs

Since what you are doing must be OS-independent, then I wouldn't be using O_NDELAY. For example, my system doesn't have it. Stick with O_NONBLOCK. See perlopentut. Using perlopentut as an example, I would do something like this:
sysopen(FH, $path_to_file, O_RDONLY | O_NONBLOCK);

Replies are listed 'Best First'.
Re^2: -e blocking due to unaccessable network fs
by Sewi (Friar) on Jun 23, 2010 at 12:38 UTC
    Thanks.

    I changed it, but as both constants resolve to 2048 (Linux), there should be no difference.