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 is the difference between use and require in perl?
How will you access an element of a perl array?
How to compare two strings in perl?
How does polymorphism work in perl? Give an example.
How to read a single line from a file in perl?
What is an interpolation in perl?
Explain about the applications of perl?
List the data types that Perl can handle?
How to connect with sqlserver from perl and how to display database table info?
How will you open a file in read-only mode in perl?
Define operators used in perl?
How do I replace every character in a file with a comma?
Why does Perl not have overloaded functions?
what are the three groups involved in information sharing?
Define say() function in perl?