in reply to Saving Standard Error
Use something like the IPC::Run3 module for this.
You can capture STDERR into a scalar reference.