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 / satish kumar golukonda

for and foreach works alike.
But for uses condition expression, where as foreach works on
ranges, contineous indexing.

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the importance of perl warnings? How do you turn them on?

1039


Can inheritance be used in perl? Explain with the help of an example.

985


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

875


Define print() function in perl?

911


How to close a directory in perl?

928


List the prefix dereferencer in Perl.

929


How will you declare a variable in perl?

966


Why Perl aliases are considered to be faster than references?

947


What is grep used for in perl?

921


Which has highest precedence in between list and terms? Explain?

865


How to implement a stack in Perl?

1017


What are the different instances used in cgi overhead?

983


Perl regular expressions are greedy" what does this mean?

913


How can I implement the function overloading in Perl ? I read about the operator overloading, I do not know how to implement the function overloading. Thanks in advance ?

2901


What is automatic error handling in perl?

1047