What are some good Perl debugging methods?

前端 未结 18 1124
南笙
南笙 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:56

    My usual range of tools is:

    • print statements and Data::Dumper for simple cases
    • perl -d

    That's usually enough. There is ffffd; I heard it's quite nice, but never played with it.

    For some tasks (which are not really debugging, but close to it) I use Devel::NYTProf.

提交回复
热议问题