As tye pointed out, you can override it in a BEGIN statement. But there is a point here, rewriting error messages like this is potentially evil. Error handling code very often depends on error messages being caught by eval and then parsed for certain constructs. Using $SIG{__DIE__} or die() to modify the messages potentially can interfere with this process.
In reply to Re: Yet Another Override Oddity
by demerphq
in thread Yet Another Override Oddity
by Zaxo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |