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
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 |
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 |
What is perl shift array function?
what is CPAN?
How to sort dates in Perl ?
my @array=('data1','data2'); my @array1=('data1','data2'); my ($i,$k); $i=7; $k=7; while($i){ $array [++$#array] = 'ree'; $i--; print "@array"; } while($k){ push(@array1,'ree'); $k--; print "@array1"; } Are these two while loop are doing the same functionality ? What may be the difference?
What are the advantages of programming in perl?
what is the main function of fork() in cgi programming?
What are the purpose of close(), getc() and read() functions?
What is the use of –w?
How do I sort a hash by the hash value?
How many types of primary data structures in Perl and what do they mean?
Comment on the scope of variables in perl.
What are the features of perl language?