in reply to Re: n a perl sub, how do I capture STDOUT, STDERR that comes from another perl sub?
in thread In a perl sub, how do I capture STDOUT, STDERR that comes from another perl sub?

open (local *STDOUT,'>:utf8',\(my $b="\x{FEFF}"));

I was bitten in the neck by this, at least with :raw. I don't know if with :utf8 it's the same. Of course a separate binmode is a viable workaround. Yes, I'd like to do that too in the open to start with.