I have a system script in perl. I need some equivalent of bash -x to determine what is going wrong with the script. Is there something equivalent?
EDIT: What bash -x
Always include these statements in your perl scripts:
use strict; use warnings;
If you want to debug it, use the -d switch. And here are the commands: http://www.domainavenue.com/pl-debug.htm
-d
Hope that helps.