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?
what is Chop & Chomp function does?
List all the features of perl programming?
Differentiate between use and require, my and local, for and foreach and exec and system
What is an interpolation in perl?
What is goto statement in perl?
how to connect cisco switch uisng perl script
How many loop control keywords are there in perl?
In Perl, there are some arguments that are used frequently. What are that arguments and what do they mean?
How to check the status of airplane mode (enable/disable) in perl for Android mobile?
Explain substr function in perl?
How can you replace the characters from a string and save the number of replacements?
Mention the difference between die and exit in Perl?
What is the purpose of “_file_ literal” and “_line_ literal” in perl?
You want to concatenate strings with perl. How would you do that?