note
tye
<p>
Isn't this what zcat is for?
</p><p>
I don't see anything wrong with your code.
</p><p>
If you kill the receiving program, SIGPIPE is the expected outcome. Is it exiting on its own? What makes you think it is no longer receiving data?
</p><p>
The buffer size for pipes is quite small so Perl would quickly block if the receiving program stopped reading data (and even Perl's internal buffer is not <i>that</i> big).
</p>
- [tye]
253059
253069