in reply to Bad file descriptor when using backticks?
Erm, backticks don't set $!; they set $?.
$ perl -le '`bad_command`;print $?;`echo`;print $?' -1 0 [download]
The cake is a lie. The cake is a lie. The cake is a lie.