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
When does circular reference occur?
What is the difference between single (') and double (") quote in a string in perl?
What does Perl do if you try to exploit the execve(2) race involving setuid scripts?
Write syntax to add two arrays together in perl?
How to turn on Perl warnings? Why is that important?
What is chomp() operator/function?
If you want to empty an array then how would you do that?
Explain the different types of data perl can handle.
Why is it hard to call this function: sub y { "because" } ?
Does Perl have reference type?
what is the function that is used to identify how many characters are there in a string?
What are perl strings?
What happens in dereferencing?
What are the steps involved in configuring a server using cgi programming?
What is the function of virtual documents in cgi programs?