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 difference between exec and system?
How do I send e-mail from a Perl/CGI program on a Unix system?
Which functions in perl allows you to include a module file. State their differences.
How to copy a file in perl?
What does the’$_’ symbol mean?
What is the importance of perl warnings? How do you turn them on?
what are the strategies followed for multiple form interaction in cgi programs?
How will you declare a variable in perl?
Explain lists and ivalue?
What are some common methods to all handles in perl?
How to get help for perl?
Explain ivalue?
Differentiate use and require?
How to close a file in perl?
How can you call a subroutine and identify a subroutine?