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 are some of the key features of objects in perl?

938


In Perl, there are some arguments that are used frequently. What are that arguments and what do they mean?

901


What is cpan in perl?

945


What does localtime() do in perl?

994


how to get back up from private character editor which is saved in the format of .udf

2282


Explain about the applications of perl?

965


Write syntax to add two arrays together in perl?

922


what is perl language?

927


Write a program that explains the symbolic table clearly.

948


What is the use of -w, -t and strict in Perl?

984


Perl uses single or double quotes to surround a zero or more characters. Are the single(' ') or double quotes (" ") identical?

920


Explain substr function in perl?

1027


How are parameters passed to subroutines in perl?

938


what is the function that is used to identify how many characters are there in a string?

958


What is warn function in perl?

951