in reply to Modulino, perl -d question.
Not reproducable, for me caller is equally false, when run under the debugger.
I'm not sure what you want to debug ... main() or your test suite?
IMHO there are good reasons for both cases.
So maybe you should explicitly check if you are running under the debugger, eg. by checking if &DB::DB is defined.
like that you can provide a run argument to decide which branch exactly should be debugged.
Cheers Rolf
|
|---|