Otherwise, take a look at the standard IPC::Open3 module
In reply to Re: Capturing stderr by Joost in thread Capturing stderr by Zadeh