Can any1 tell me 2 write the script using perl script 2
looking at a log file 2 see wheather the test has passed or not.

Answers were Sorted based on User's Feedback



Can any1 tell me 2 write the script using perl script 2 looking at a log file 2 see wheather the te..

Answer / bhagwat gupta

The question is not clear, if i am picking you up
correctly, here is the answer.

If you want to check the particular part of a code ran fine
or not,you can put it in a eval block and then check for $@
(if $@ set, something wrong) and accordingly print the
message in the log file.

If not helpful,can you pls explain the questions properly.

Is This Answer Correct ?    0 Yes 0 No

Can any1 tell me 2 write the script using perl script 2 looking at a log file 2 see wheather the te..

Answer / kamal

Could you pelase let me know how to justified the test is
pass or not.

Is This Answer Correct ?    0 Yes 0 No

Can any1 tell me 2 write the script using perl script 2 looking at a log file 2 see wheather the te..

Answer / hari

no anser

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More CGI Perl Interview Questions

Explain perl. When do you use perl for programming? What are the advantages of programming in perl?

1 Answers  


How can you replace the characters from a string and save the number of replacements?

1 Answers  


What are scalars?

1 Answers  


What is chomp() operator/function?

1 Answers  


Define print() function in perl?

1 Answers  


List the files in current directory sorted by size ?

1 Answers  


Remove the duplicate data from @array=(“perl”,”php”,”perl”,”asp”)

1 Answers  


Explain tk?

1 Answers  


How are parameters passed to subroutines in perl?

1 Answers  


How we can navigate the xml documents?

1 Answers  


How to prevent file truncation in perl?

1 Answers  


When does circular reference occur?

1 Answers  


Categories