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 to turn on Perl warnings? Why is that important?

583


What are the arguements we normally use for perl interpreter?

514


Why should I use the -w argument with my Perl programs?

563


What is the main function of cookie server?

529


What is the use of -n and -p options?

605






What is the difference between perl list and perl array?

471


Enlist the advantages of using c over perl?

519


How to read a directory in perl?

535


What is perl I used for?

534


Explain chop?

539


What does init 5 and init 0 do?

527


Write the program to process a list of numbers.

504


How many types of variable in perl?

556


What is grep used for in perl?

530


How many loop control keywords are there in perl?

559