talexb has asked for the wisdom of the Perl Monks concerning the following question:
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to catch a broken input pipe
by Zaxo (Archbishop) on Jan 05, 2005 at 04:17 UTC | |
|
Re: How to catch a broken input pipe
by Errto (Vicar) on Jan 05, 2005 at 04:38 UTC | |
|
Re: How to catch a broken input pipe (can't)
by tye (Sage) on Jan 05, 2005 at 06:47 UTC |