It would work, but print statements without a file handle will now go into the PIPE instead of to STDOUT. That's probably not what you want to do, and I don't like using select that way (spooky action at a distance). That's why you should have a second select to re-select the currently selected handle.
I don't understand your last paragraph. Could you explain it please?
<FILE> reads until end of line, but your data doesn't contain lines.
In reply to Re^3: IPC via named pipes, losing some messages
by ikegami
in thread IPC via named pipes, losing some messages
by ftumsh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |