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.
In reply to Re^2: Unexpected termination on "print" (pipe)
by mlawren
in thread Unexpected termination on "print"
by mlawren
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |