use strict;
use warnings;
+use IO::File;
use HTTP::Request;
use HTTP::Request::AsCGI;
$r->content_length(5);
$r->content_type('text/plain');
-my $c = HTTP::Request::AsCGI->new($r)->setup;
+my $c = HTTP::Request::AsCGI->new($r);
+$c->stderr(IO::File->new_tmpfile);
+$c->setup;
print STDOUT 'STDOUT';
print STDERR 'STDERR';