I thought I could use IO::Stream, but that doesn't seem to exist, even though CPAN returns 3500 results, including things like 'Audio::foo' and 'Bio::bar'.
In my system, there's a Java Application that opens a pipe to a port watched by an xinetd daemon, and this daemon fires up an application, then provides a pipe connection between that application and the Java application. Sometimes the Java Application crashes and isn't able to say "Gotta go -- bye!", so I'd like to be able to catch that condition and clean up after the pipe from the Java application is broken. My plan was to use IO::Stream, since I should be able to catch any exception from that input pipe.
Since this module doesn't exist, is there one that I could use instead?
Alex / talexb / Toronto
"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds
In reply to How to catch a broken input pipe by talexb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |