Perl

How to debug perl programs:

First of all, you need to have a debugging perl module called "trace" that you can install like this:

apt-get install libdevel-trace-perl

perl -d:trace script.pl 2>&1 | tee -a dump.log | less
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License