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
You should look at "perl -d" (turn on debugger) or "perl -c" (check your script before executing