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 use of -w, -t and strict in Perl?
How do I debug a perl program?
Distinguish my and local?
What is “grep” function in perl?
What is v-strings?
What does this symbol mean '->'?
What is posix in perl?
Explain goto name?
Explain a tell function in perl?
What is the use of –w?
Define perl scripting?
Is perl a case sensitive language?
If you want to empty an array then how would you do that?
How does polymorphism work in perl?
What does the’$_’ symbol mean?