in reply to Remove the location of error from error messages from croak

yes you can transform the messages in $SIG{__DIE__} or $SIG{__WARN__} (see %SIG ) with a regular expression, since editors like emacs rely on a format ending with ...

at ... line ...

... to be able to offer "jump to error" on click.

But you need to take care of different things after at like (eval ... ) or -e

> perl -e 'warn "bla\n"' bla > perl -e 'warn "bla"' bla at -e line 1. > perl -e 'eval q{warn "bla"}' bla at (eval 1) line 1.

Reading caller should help figuring out such stuff.

Cheers Rolf

(addicted to the Perl Programming Language)

PS: Next time please use proper formatting instead of <pre> tags