Oct
27
2007
Perl dubugging
Posted by: seba in Debug, Linux, Perl, Programming, tags: Debugging, Perl, ProgrammingFor programmers the debugging is very important to develop his programs correctly, this post is a simple introduction in the use of perl debugger. The perl debugger is integrated in the perl interpreter, to run perl in the debug mode launch it with the switch -d
# perl -d dbex.pl
output:
the help:
at the debugger prompt you can type the command for the debugger.
To make easy debugging in perl is usefull the package ptkdb; it is a visual debugger based on PerlTk libraries and the package is very simple to install from CPAN. Run it from the perl script with the switch -d:ptkdb
# perl -d:ptkdb dbex.pl


Entries (RSS)