>I don't have time to look it up today and play with it, maybe someone >knows. Is there a way to make filehandles not block in MacPerl? > The code from the faq appears to work correctly on my machine. I don't can't tell you if it's actually not blocking properly or not, though. ***FAQ snip**** How do I open a file without blocking? You need to use the O_NDELAY or O_NONBLOCK flag from the Fcntl module in conjunction with sysopen(): use Fcntl; sysopen(FH, "/tmp/somefile", O_WRONLY|O_NDELAY|O_CREAT, 0644) or die "can't open /tmp/somefile: $!": *************** -Jeff Lowrey ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch