in reply to Problem with FIFO

To get error messages from your pipe add a SIG handler.

$SIG{PIPE} = sub { die "Pipe failure" };

Also you should check the exit value of any pipe closures. See perlipc under "Named Pipes" and "Using open() for IPC.


s//----->\t/;$~="JAPH";s//\r<$~~/;{s|~$~-|-~$~|||s |-$~~|$~~-|||s,<$~~,<~$~,,s,~$~>,$~~>,, $|=1,select$,,$,,$,,1e-1;print;redo}

Replies are listed 'Best First'.
Re^2: Problem with FIFO
by pktrain (Acolyte) on Jul 05, 2008 at 16:05 UTC
    Thank you for the suggestions and the link. That looks to be a great reference for a Perl noobie like myself...