467,168 Members | 958 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,168 developers. It's quick & easy.

debugging perl

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
  • viewed: 1204
1 Reply
Expert Mod 2GB
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.

Similar topics

79 posts views Thread by Tim Tyler | last post: by
4 posts views Thread by Glenn Reed | last post: by
reply views Thread by Nachiketh | last post: by
9 posts views Thread by kbc | last post: by
reply views Thread by Kirt Loki Dankmyer | last post: by
3 posts views Thread by Kelicula | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.