in reply to Using backquotes to echo results in "Bad file descriptor"

You should check the results of backticks (qx) with $? instead of $! (which is usually used for open):
print $? if $?;

See also Error Indicators