in reply to Error reporting in Perl

To find your error locations easier, you can use Sub::Name to give them a name.

Note that the "original string" may not be available anymore once Perl comes to the conclusion that your code tries to do something nonsensical.

Maybe you can show us a more concrete example that reproduces your situation and show us what you would like to see instead.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.