Add a "\n" to the end of your message. That will suppress file and line-number diagnostics.
$ perl -e'die "Willingly"' Willingly at -e line 1 $ perl -e'die "Willingly\n"' Willingly $
After Compline,
Zaxo
In reply to Re: or DIE adding line number to error
by Zaxo
in thread or DIE adding line number to error
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |