By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,178 Members | 971 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,178 IT Pros & Developers. It's quick & easy.

debugging perl

P: 2
I have set up a perl program to work on one of my servers. I tried using the same program on a different one, it runs but doesn't create any output/emails. I want to run the perl script in debug mode so that I can watch it verbose to see where it may be failing. What command can I give on the unix command line, or do I put it in the script at the top starting with a !
Aug 31 '08 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 2.5K+
P: 3,503
To run a Perl script in debug mode, you run it as follows:

Expand|Select|Wrap|Line Numbers
  1. perl -d <script_name>
I suggest that before you go doing that, that you read the Perl debug tutorial. That will show you how to use it. Its really not all that hard.

If you need additional help with your script, please post your script here, enclosed in the necessary code tags.


Aug 31 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.