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

what is Perl one liner?

903


You want to add two arrays together. How would you do that?

881


Explain gmtime() function in perl?

981


What is it meants by '$_'?

902


What happens to objects lost in "unreachable" memory, such as the object returned by Ob->new() in `{ my $ap; $ap = [ Ob->new(), $ap ]; }' ?

990


What is eval function in perl?

960


How can you call a subroutine and identify a subroutine?

987


What is perl shift array function?

979


Differentiate between arrays and list in perl.

993


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

1051


How will you access an element of a perl array?

946


explain the various functions/directives in perl that allow you to include/import a module. Also, state the differences between them.

874


“Perl regular expressions match the longest string possible”. What is the name of this match?

943


What does init 5 and init 0 do?

1022


What is perl scripting?

949