Can I insert break point into source perl program?

前端 未结 4 1224
臣服心动
臣服心动 2021-02-12 20:00

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?

4条回答
  •  臣服心动
    2021-02-12 20:57

    Essentially the -d switch allows you to communicate with the perl executable, and allows the perl executable to communicate with you.

    More

提交回复
热议问题