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
What does delete function do in perl?
Explain the meaning of closure in perl.
How to prevent file truncation in perl?
What is qq (double q)operator in perl?
What are the two ways to get private values inside a subroutine?
Explain chop?
How will you open a file in read-only mode in perl?
Explain perl. What are the advantages of programming in perl?
What does next statement do in perl?
What is subroutine in perl?
Explain the functioning of conditional structures in perl.
Is perl compiler or interpreter?
How many types of operators are used in the Perl?
How to convert strings into an array in perl?
How do I read command-line arguments with Perl?