in reply to Re^2: Why isn't a fatal error trappable?in thread Why isn't a fatal error trappable?
$ perl -e '$SIG{__DIE__} = sub {die "Handled: @_"};undef=1' Handled: Modification of a read-only value attempted at -e line 1. [download]