in reply to Redirecting STDERR to a variable

Is there a way to capture STDERR from a particular program execution in a perl variable?

I believe you will find your answer in the faq How can I capture STDERR from an external command?

Cheers!