in reply to Is "die" the best way to be atomic?
But actually the return value of system is more complex than this. You might want to check perlfunc -f system. The return value -1 in particular is quite revealing.system($foo) and die "system() failed, error code " . ($? >> 8);
|
|---|