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

You want to concatenate strings with perl. How would you do that?

922


Why to use perl?

998


Which has the highest precedence, List or Terms? Explain?

951


What is posix in perl?

994


How do you set environment variables in perl?

1104


How to sort arrays in perl?

1079


what are the strategies followed for multiple form interaction in cgi programs?

988


How do you match one letter in the current locale?

1061


How does polymorphism work in perl?

965


What is the syntax used in Perl grep function?

1076


Why -w argument is used with perl programs?

1030


How will you create a file in perl?

1055


How do I debug a perl program?

1028


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

2562


What are the steps involved when the cgi program starts running?

963