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
Explain tk?
How to convert arrays into a string in perl?
Explain ivalue?
What does last statement do in perl?
How many data types are there in perl?
what is Chop & Chomp function does?
What is boolean context?
Explain goto label?
What are the steps involved in configuring a server using cgi programming?
Explain the meaning of perl one-liner?
What is perl pop array function?
What is q (single q) operator in perl?
Explain the difference between die and exit in perl?
What is cpan in perl?
Why to use perl scripting?