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

How does polymorphism work in perl?

914


What is grep used for in perl?

921


What is the use of '>>' in perl?

998


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

939


What is qq (double q)operator in perl?

1014


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

962


Is perl compiler or interpreter?

938


Which feature of perl provides code reusability?

992


How to open and read data files with Perl

1049


How to read multi lines from a file in perl?

919


Write a program to concatenate the $firststring and $secondstring and result of these strings should be separated by a single space.

1049


Perl regular expressions are greedy" what does this mean?

913


What are different data types that perl supports. Elaborate on them.

1075


How do find the length of an array?

1129


Define operators used in perl?

938