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
Where do we require ‘chomp’ and what does it mean?
Why to use perl?
There are some duplicate entries in an array and you want to remove them. How would you do that?
Is there any way to add two arrays together?
what are the strategies followed for multiple form interaction in cgi programs?
When do you use perl programming?
Differentiate use and require?
What are the advantages and disadvantages of perl language?
Explain perl. When do you use perl for programming? What are the advantages of programming in perl?
Mention what is cpan?
What is automatic error handling in perl?
Explain about the applications of perl?
Why do we use "use strict" in perl?
How do I generate a list of all .html files in a directory?
What is a chop() function in perl?