- -d|options
- debug
- Devel::ptkdb
Debugging
- Running script perl mycode.pl
- Use the built-in debugger perl -d mycode.pl
- Install Devel::ptkdb and run perl -d:ptkdb mycode.pl
- IDEs have debuggers
- Include print statements in the critical places of your code.
- use Data::Dumper qw(Dumper);