in reply to Getting STDERR to write to STDOUT?

I assume you want to catch the STDERR of a program, then you can do this:
open(HANDLE, "my_prg 2>&1 |") || die "error: $!\n";
or
$output = `my_prg 2>&1`;