Just another Perl shrine | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
>At this stage caller returns a valid value (rather than undef) and main is not called. :-(
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 In reply to Re: Modulino, perl -d question.
by LanX
|
|