$! doesn't have anything to do with the exit status of the program
An uncaught exception results in exit($! || $? >> 8 || 255).
In reply to Re^2: try catch getting ignored by SIG DIE subroutine
by ikegami
in thread try catch getting ignored by SIG DIE subroutine
by dkhosla1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |