I want the perl program launch debugger when some condition hit. Some other language has debug() statement supported by library, is there any similar statement in perl?
Well, there is something which will enable you to do something like breakpoints, but the functionality is wider: Perl Debugger.