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 are the various advantages and disadvantages of perl?
Mention how many ways you can express string in Perl?
What is the difference between localtime() and gmtime() functions?
how to connect cisco switch uisng perl script
Explain the meaning of closure in perl.
Explain join function in perl?
what is the difference between java and cgi?
How we can navigate the xml documents?
how to create a flat file database as shown below s.no name age city phone 0 hema 22 Calcutta 4312542 1 hema 21 Bangalore 2344345 2 ganesh 25 delhi 2445454 3 kartik 45 pune 4312121 4 santosh 25 Hyderabad 2254231 5 kumar 25 mysore 2344567 6 gita 34 mangalore 6532123 7 gita 32 pune 2213456 Q1.print the details of the person who r from bangalore q2.Replace the city name managlore to pune q3.prints no of person having name gita and hema q4.print how many are of age 25.
How to compare two strings in perl?
In Perl, what is grep function used for?
How to merge two arrays in perl?
What is the use of -w, -t and strict in Perl?
How do I generate a list of all .html files in a directory?
What is the importance of perl warnings? How do you turn them on?