in reply to Re: Bad file descriptor when using backticks?
in thread Bad file descriptor when using backticks?
Your answer was better before the update. qx() can set $! if there was a failure in the parent process. But qx() does always set $? and you need to look at $? in order to figure out if $! was also set. Despite not finding this in the documentation at the moment, I believe that $? being -1 means that $! should be checked / reported.
- tye
|
|---|