in reply to Re: Problems with open3
in thread Problems with open3

To capture STDERR with backquotes, use:

$output = `cmd 2>&1 1>/dev/null`;

If you want both, omit redirecting STDOUT to /dev/null:

$output = `cmd 2>&1`;

However, it is generally safer to use open3.