in reply to Re: redirecting output to STDERR and STDOUT
in thread redirecting output to STDERR and STDOUT

my $err = <STDERR>;
Eh?

STDERR is usually defined for writing only. Reading from it will either throw an error or do nothing. (Unless you've played games with the handles, of course.)

Or am I completely misunderstanding your intent?