473,395 Members | 2,467 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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
1 1307
numberwhun
3,509 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>
  2.  
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.

Regards,

Jeff
Aug 31 '08 #2

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

Similar topics

79
by: Tim Tyler | last post by:
PHP has some pretty funky error messages: "parse error, unexpected T_IF"; "Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING"; Humans often see these - shouldn't they be more...
4
by: Glenn Reed | last post by:
This is just a general comment after trying my hand at some serious python programming for the first time. Have played with it for some time but this is the first serious thing I've done with it. ...
0
by: Nachiketh | last post by:
hi, am a newbie for internet programming and i wrote a perl script to acess a mysql database on linux... but once i tried viewing the output in a browser.. i was shown an error page... which...
9
by: kbc | last post by:
Hi, I am programming in C. ( You know that __FILE__ is a 'macro' which may be used to print debug messages. ) 3 questions : a) I have 10000 functions in my project. I am...
0
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
0
by: Kirt Loki Dankmyer | last post by:
So, I download the latest "stable" tar for perl (5.8.7) and try to compile it on the Solaris 8 (SPARC) box that I administrate. I try all sorts of different switches, but I can't get it to compile....
1
by: Scubadude | last post by:
I am looking for some assistance in 'fine-tuning' my preferences as I set-up my system to learn PHP. I am running Komodo professional, version 3.5.3, build 262321, platform win32-x86. Under...
13
by: deppeler | last post by:
I have a script that allows the user to upload images to the server & writes the file name to a flat file DB. I have another script that allows the user to delete the image entry from the DB. Is...
3
Kelicula
by: Kelicula | last post by:
Hello all! I am getting very close to comleting my recent project thanks to everyones help. I am at a stage where I will start to emplimement end result code. (almost) But I have a problem....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.