I came from PHP and I used zenddebugger to debug PHP.
How can I debug perl?
Using the Perl built-in debugger?
perldoc perldebug
While Jonathan's answer is optimal, use strict and warning pragmas:
use strict; use warnings;
Help you catch most of your mistakes if you are not already using them.
Here is my debug tip revised from perlmonks.
Let the debugger automatically stop the program when a warning is issued from the Perl runtime system. So you can look at the context of the problem and explore.
This node gives motivation and here it is in its final form .
Anyway you choose, be sure to add Data::Dumper to your debugging routines.
Data::Dumper
Devel :: Peek is a good tool for debugging data.
Source: https://habr.com/ru/post/889132/More articles:C # still connected to event after uncoupling - c #Unable to configure NSXMLParser delegate by itself - debuggingSetVisible (false) changes the location of my components in my panel - javasetsockopt does not work for IPPROTO_TCP IP_TOS in C - cWordpress: creating a new usermeta field for users - phpWill the compiler expand this loop? - c ++VST tool with multiple inputs and outputs - c ++What is the correct way to drag and drop? - c ++Global.asax.cs and static variable - c #Effective mass change of persistent data structures - immutabilityAll Articles