Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Problem with FIFO

by starbolin (Hermit)
on Jul 05, 2008 at 15:47 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-19 19:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found