As you may see in my reply above, I am indeed using Carp. The problem is that I have succeeded in executing a file of code in a such a way that the interpretter has no knowledge of it's textual/source context, e.g. line numbers and file names, etc.
I often succeed in doing things like that. A dubious gift, that.