[comp.lang.perl] need help with blocking i/o

pbt@mbunix.mitre.org (Taylor) (02/08/91)

I have created a named pipe (FIFO) I would like a perl program
to read from.  I would like the program to block on an attempted
read when the pipe is empty.  How can I do this?  I presume the
right usage of ioctl or fcntl will do it, but I have not hit
the right combination.  Please e-mail your answer to me.

Many thanks!

================================================================
Porter B. Taylor            Phone:    617-271-3286
MailStop: K319              E-mail:   pbtaylor@mdf.mitre.org
MITRE
Burlington Rd.
Bedford, MA 01730
================================================================
-- 
================================================================
Porter B. Taylor            Phone:    617-271-3286
MailStop: K319              E-mail:   pbtaylor@mdf.mitre.org
MITRE
Burlington Rd.
Bedford, MA 01730
================================================================