good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Problem with FIFOby starbolin (Hermit) |
on Jul 05, 2008 at 15:47 UTC ( [id://695716]=note: print w/replies, xml ) | Need Help?? |
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}
In Section
Seekers of Perl Wisdom
|
|