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

How do you match one letter in the current locale?

0 Answers  


Explain the difference between use and require?

5 Answers   Aspire,


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 ?"

0 Answers   Cisco, Oracle,


How to read a file into a hash array?

0 Answers  


Suppose an array contains @arraycontent=(‘ab’, ‘cd’, ‘ef’, ‘gh’). How to print all the contents of the given array?

0 Answers  






How to read from a pipeline with Perl

0 Answers  


How do I generate a list of all .html files in a directory?

0 Answers  


Why does Perl not have overloaded functions?

0 Answers  


Mention how many ways you can express string in Perl?

0 Answers  


Why is it hard to call this function: sub y { "because" } ?

0 Answers  


while(my($key, $value) = each(%hash) ) { print "$key => $value\n"; } my($key, $value); while(($key, $value) = each(%hash) ) { print "$key => $value\n"; } What is the different between these two code in case of "my" usage ?

1 Answers  


write a script to generate n prime no.s?

2 Answers   Persistent,






Categories