Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What does delete function do in perl?

985


What is the purpose of goto expr statement?

916


What is perl dbi?

892


What does `$result = f() .. g()' really return?

1199


What is cpan ? What are the modules coming under this?

923


What are the different ways to run cgi?

960


Explain which feature of PERL provides code reusability?

1214


What is the difference between localtime() and gmtime() functions?

1047


What do you mean by context of a subroutine?

980


What are the advantages of c over Perl?

937


You want to add two arrays together. How would you do that?

881


What does the qx{ } operator do?

913


What is 'commit' command in perl?

1087


what are the steps involved in reading a cgi script on the server?

936


What is the purpose of redo statement?

1015