|Subject:||-M option for prove would be nice|
I have a module test where a piece of code is bailing fairly deeply and convolutedly down the stack. I could track it down with the debugger, but what would be really nice is to be able to run the test with -MDiagnostics on the Perl command line. I've tried using the debugger, and I can find which line of my .t it is dieing, but when it actually dies, it is too late for perl5db to tell me where the problem actually is. I'm sure that there are other modules lurking on CPAN that can subtly alter the behaviour of the execution, merely by adding a -M option.