<?xml version="1.0" encoding="windows-1252"?>
<node id="931651" title="Re^2: STDERR going to string" created="2011-10-15 08:55:17" updated="2011-10-15 08:55:17">
<type id="11">
note</type>
<author id="914294">
philkime</author>
<data>
<field name="doctext">
Here is a simple example showing that even Capture::Tiny doesn't work in this case on Windows.

&lt;code&gt;
#!/usr/bin/perl

use Capture::Tiny 'capture';
use File::Temp qw(tempfile);
use Inline C;

my ($stdout, $stderr) = capture { test_err() };

print "|$stderr|\n";

__END__
__C__
void test_err()
{
(void)fprintf (stderr, "ERROR");
}

&lt;/code&gt;</field>
<field name="root_node">
929318</field>
<field name="parent_node">
930947</field>
</data>
</node>
