What is the difference between for & foreach, exec &
system?
Answer Posted / maheswar reddy
The For and Foreach loop works quite same......but
Foreach loop is best way to access dynamic arrays.If we don't know the size of the array then we can't mention the range for the "FOR LOOP" in this case for loop is best
Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What is the difference between use and require in perl?
Explain perl.
Where do we require ‘chomp’ and what does it mean?
What are the different types of perl operators?
How can we create perl programs in unix, windows nt, macintosh and os/2 ?
Explain split function in perl?
Write a cgi program to show the header part?
What are the arguements we normally use for perl interpreter?
What is subroutine in perl?
what are steps to do to lock the sony ericsson mobile with password?
what is Polymorphism in Perl?
Explain perl. When do you use perl for programming? What are the advantages of programming in perl?
How do I generate a list of all .html files in a directory?
What does perl do in linux?
Explain the difference between declarations of 'my' and 'local' variable scope in perl?