in reply to backticks fail to capture stderr even with explicit redirection

Hey, instead of
:/$ perl -e '$alloutput=`cmd 2>&1`; print $alloutput;' :/$
try that
:/$ perl -e '$alloutput=`cmd 2>&1;`; print $alloutput;' sh: cmd: command not found :/$
Regards.