What is the difference between for & foreach, exec &
system?
Answer Posted / satish kumar golukonda
for and foreach works alike.
But for uses condition expression, where as foreach works on
ranges, contineous indexing.
| Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
What is the importance of perl warnings? How do you turn them on?
Can inheritance be used in perl? Explain with the help of an example.
You want to concatenate strings with perl. How would you do that?
Define print() function in perl?
How to close a directory in perl?
List the prefix dereferencer in Perl.
How will you declare a variable in perl?
Why Perl aliases are considered to be faster than references?
What is grep used for in perl?
Which has highest precedence in between list and terms? Explain?
How to implement a stack in Perl?
What are the different instances used in cgi overhead?
Perl regular expressions are greedy" what does this mean?
How can I implement the function overloading in Perl ? I read about the operator overloading, I do not know how to implement the function overloading. Thanks in advance ?
What is automatic error handling in perl?