How do you debug a Perl scripting ( at the compile time
error or run
time error) in Unix environment ?
Answer Posted / kuldip singh behal
we can also use -c and -d switches to debug our perl scripts
ex:
perl -c sample.pl (for compilation errors)
perl -d sample.pl (for debugging the code line by line)
Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
How many types of primary data structures in Perl and what do they mean?
What is goto statement in perl?
What is the use of -n and -p options?
What is the function of cgiwrap in cgi programming?
Can you add two arrays together?
How to close a file in perl?
What is the purpose of redo statement?
Explain '->' in perl?
Hi, I am a accountant. I am preparing a balance sheet but because of staff shortage and time pressures I cant complete it on time. There is lot of common data with last years which I need not retype and I can manage by editing last year’s balance sheet ? Is their any software on net where I can do this easily??
You want to download the contents of a url with perl. How would you do that?
What does 'do' statement do in perl?
What can be done for efficient parameter passing in perl?
What is the importance of perl warnings? How do you turn them on?
Is perl compiler or interpreter?
what are prefix dereferencer and list them out?