What are some good Perl debugging methods?

前端 未结 18 1115
南笙
南笙 2020-12-12 21:12

Are there other ways for debugging Perl programs apart from Data::Dumper and perl -d?

18条回答
  •  天命终不由人
    2020-12-12 21:52

    I like Devel::Trace. Basically it gives you an execution dump, showing you the code paths.

    On another side, test-driven development is all the rage now, so you could also be interested in profiling tools like Devel::NYTProf for highly advanced testing. See this Tim Bunce's blog post for an interesting overview.

提交回复
热议问题