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
Explain lists and ivalue?
Which of these is a difference between Perl and C++ ?
How to concatenate strings with perl?
What is the purpose of goto expr statement?
You want to download the contents of a url with perl. How would you do that?
What are the advantages of c over Perl?
What is the use of now constructor in perl?
Why should I use the -w argument with my Perl programs?
What are the two ways to get private values inside a subroutine?
How do I generate a list of all .html files in a directory?
What interface used in PERL to connect to database? How do you connect to database in Perl?
If EXPR is an arbitrary expression, what is the difference between $Foo::{EXPR} and *{"Foo::".EXPR}?
Write syntax to use grep function?
What are perl strings?
How can you replace the characters from a string and save the number of replacements?