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
How can I display all array element in which each element will display on next line in perl ?
List the data types that Perl can handle?
Differentiate use and require?
What is an interpolation in perl?
How will you open a file in a write-only mode in perl?
What does last statement do in perl?
How many ways can we express string in Perl?
What does perl do in linux?
Give an example of the -i and 0s option usage.
Differentiate between arrays and list in perl.
Explain arrays in perl.
How to deleting an existing file in perl programming?
In Perl we can show the warnings using some options in order to reduce or avoid the errors. What are that options?
What does this symbol mean '->'?
Write an example explaining the use of symbol tables.