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

We all know private variables exist in perl. But do private METHODS exist in perl ? Eg ?

2424


What is the purpose of _package_ literal?

968


What are the different string manipulation operators in perl?

879


How do I do fill_in_the_blank for each file in a directory?

920


Write a program to decode the data in the form using cgi programming

1005


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

2254


Which functions in Perl allows you to include a module file or a module and what is the difference between them?

954


How to concatenate strings with perl?

813


How can you define “my” variables scope in Perl and how it is different from “local” variable scope?

1064


What is the importance of perl warnings?

1067


If EXPR is an arbitrary expression, what is the difference between $Foo::{EXPR} and *{"Foo::".EXPR}?

950


How are parameters passed to subroutines in perl?

901


You want to download the contents of a url with perl. How would you do that?

842


Explain splicing of arrays?

875


When do you use perl programming?

955