Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Problem with FIFO

by starbolin (Hermit)
on Jul 05, 2008 at 15:47 UTC ( #695716=note: print w/replies, xml ) Need Help??

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...

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://695716]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2022-10-05 15:37 GMT
Find Nodes?
    Voting Booth?
    My preferred way to holiday/vacation is:

    Results (24 votes). Check out past polls.