It makes no sense to talk of "by default" for die. There's no argument to specify the exit code, so it can't be omitted to use the default.
Also, die always returns non-zero ($! || ($?>>8) || 255).
In reply to Re^2: different between die and exit
by ikegami
in thread different between die and exit
by vinoth.ree
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |