Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: Unexpected termination on "print" (pipe)by mlawren (Sexton) |
on Aug 14, 2015 at 20:35 UTC ( [id://1138639]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|