in reply to Using pipe with more than one child process
perl -wle 'use POSIX; print PIPE_BUF'
So if you make sure that your filehandle to the pipe is autoflushing (so that perl prints become one write), the filehandle isn't unbuffered (normally only a problem with STDERR, in that case make sure your print doesn't consist of many pieces) and your message is short enough (<= 512 bytes), you're safe.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using pipe with more than one child process
by Gmong (Novice) on Jan 06, 2005 at 21:29 UTC |