It feels like there should be an even more convenient way to do thisToo bloody right it does ... so far it seems that "at (eval 75) line 7974" is, in effect, just another way of saying "somewhere or other".
There is no string eval in the script itself, or in the modules it directly loads - though there could be a string eval in one of the modules that ultimately gets loaded. (I'm looking at you, Parse::RecDescent.)
I have established that the problem goes away if I replace Parse-RecDescent-1.96.0 with Parse-RecDescent-1.94. I get the feeling that it's just a matter of explicitly assigning
[] to a hashref key if that key is undef ... in which case it's just a matter of working out which key it is. Maybe it's time to try a time a dump of the hash reference.
Btw, I don't doubt that my problem would be made simpler if I was debugger-savvy, or Carp-savvy (as
bloodnok and
Anonymous Monk suggested).
I did have a bit of a play with Carp, but only got a heap of Parse::RecDescent messages that didn't mean much.
Cheers,
Rob