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 importance of perl warnings?
How can we create perl programs in unix, windows nt, macintosh and os/2 ?
How to prevent file truncation in perl?
Explain a tell function in perl?
How to create a package?
You want to download the contents of a url with perl. How would you do that?
Can you add two arrays together?
There is no strict data types in perl unlike in other high level languages like Java so wouldn't that be a problem if a code in perl is to be a written by a big team of 20+ members ?"
What are the logical operators used for small scale operations? Explain them briefly.
What is confess function in perl?
How many data types are there in perl?
How do I print the entire contents of an array with Perl?
How will you open a file in read-only mode in perl?
How to read a directory in perl?
Which functions in perl allows you to include a module file.