If you append a newline to the message you pass to die then it will not append the extra info. This convention is honoured by Carp and by implication probably by CGI::Carp also.
In reply to Re: error messages without program names or line numbers
by BrowserUk
in thread error messages without program names or line numbers
by EvanK
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |