in reply to Re: Unexpected termination on "print" (pipe)
in thread Unexpected termination on "print"
Thanks for your reply tye. Much appreciated, especially given how deep these nodes get pushed with all the questions coming through.
I know in principle what $? is used for, but I could not find (nor does the documentation you point to) a list matching perl exit codes (or are they system error codes?) with reasons. Should I be looking at something like errno.h?
However your pointer to SIGPIPE was spot on. Installing a handler allowed me to deal with the error and continue execution.
Thanks again.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Unexpected termination on "print" (docs)
by tye (Sage) on Aug 14, 2015 at 20:50 UTC | |
by mlawren (Sexton) on Aug 14, 2015 at 21:22 UTC | |
by afoken (Chancellor) on Aug 14, 2015 at 22:27 UTC | |
by AnomalousMonk (Archbishop) on Aug 14, 2015 at 22:29 UTC | |
by mlawren (Sexton) on Aug 15, 2015 at 10:41 UTC | |
by tye (Sage) on Aug 15, 2015 at 16:32 UTC |