|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re^2: STDERR going to stringby philkime (Acolyte) |
| on Oct 10, 2011 at 13:23 UTC ( #930629=note: print w/ replies, xml ) | Need Help?? |
|
I can get around this by redirecting to a file and reading it later. I suspect I could use Config::Tiny or File::Tee too but it seems it's a harder problem on Windows because re-opening STDERR decouples perl's STDERR from the called C library's STDERR which seems impossible to capture. If anyone has any ideas about this ... Since the issue is a library called from XS and not the XS extension itself and the fact that this library is also used apart from perl, it can't be modified to use PerlIO ...
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||