在控制台输入perldoc perldebug即可如何得到如何调试perl程序的文档。
其中重要的命令如下:
particular, because this is just Perl's own "print"
function, this means that nested data structures and objects
are not dumped, unlike with the "x" command.
x [maxdepth] expr
Evaluates its expression in list context and dumps out the
result in a pretty-printed fashion.
T Produce a stack backtrace. See below for details on its
output.