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...

What is the difference between for & foreach, exec &
system?

Answer Posted / raj

And i have read some where i could not remember the source
but foreach is faster than the for loop.
Thanks,
Raj

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is perl compiler or interpreter?

889


How many types of variable in perl?

1005


How do you give functions private variables that retain their values between calls?

897


What is the difference between die and exit in perl?

937


How to replace perl array elements?

896


What is perl scripting?

870


Comment on the scope of variables in perl.

883


What is warn function in perl?

892


How to remove a directory in perl?

913


Explain grooving and shortening of arrays?

1030


What is the closure in PERL?

944


How and what are closures implemented in perl?

836


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

874


Which of these is a difference between Perl and C++ ?

966


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

1081