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
How the interpreter is used in Perl?
What is the use of strict?
What does perl do in linux?
Explain what is perl language?
Which functions in perl allows you to include a module file.
How do I sort a hash by the hash value?
How to read file into hash array ?
What can be done for efficient parameter passing in perl? Explain.
What are perl variables?
How can memory be managed in Perl?
Write an example explaining the use of symbol tables.
Explain split function in perl?
How can I display all array element in which each element will display on next line in perl ?
When would `local $_' in a function ruin your day?
What syntax is used for grep() function?