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?
Essentially the -d switch allows you to communicate with the perl executable, and allows the perl executable to communicate with you.
-d
More