http://qs321.pair.com?node_id=745921


in reply to Re: different between die and exit
in thread different between die and exit

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).