Search code examples
perldebuggingprogramming-languagescpan

What are some good Perl debugging methods?


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


Solution

  • Available tools for debugging

    There are several tools available in Perl for debugging and similar tasks.


    Built-in command line debugger.

    perl -d yourcode.pl
    

    Devel::ptkdb

    Perl/Tk based graphical debugger by Andrew E. Page.


    Regex Coach

    This a free tool running both on Linux and Windows written in Lisp. Source code is not available.


    Rx: A Regex Debugger for Perl

    The Perl Regex debugger and an article about it written by Mark Jason Dominus.


    A GUI for the Perl Debugger