Thank you, I had not realised failure_output without any args returns the file handle already in use.
On the other issue, it is a combination of Test::More duplicating the handles on load AND the fact it does not copy the IO layers when it duplicates them. As a result, I would not expect setting binmode in BEGIN to help.
In reply to Re^4: How can I enable utf8 layer on Test::More diag output
by mje
in thread How can I enable utf8 layer on Test::More diag output
by mje
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |