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.
Answer Posted / 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 |
Post New Answer View All Answers
We all know private variables exist in perl. But do private METHODS exist in perl ? Eg ?
What is the purpose of _package_ literal?
What are the different string manipulation operators in perl?
How do I do fill_in_the_blank for each file in a directory?
Write a program to decode the data in the form using cgi programming
how to get back up from private character editor which is saved in the format of .udf
Which functions in Perl allows you to include a module file or a module and what is the difference between them?
How to concatenate strings with perl?
How can you define “my” variables scope in Perl and how it is different from “local” variable scope?
What is the importance of perl warnings?
If EXPR is an arbitrary expression, what is the difference between $Foo::{EXPR} and *{"Foo::".EXPR}?
How are parameters passed to subroutines in perl?
You want to download the contents of a url with perl. How would you do that?
Explain splicing of arrays?
When do you use perl programming?