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
Explain perl. What are the advantages of programming in perl?
Which statement has an initialization, condition check and increment expressions in its body? Write a syntax to use that statement.
What can be done for efficient parameter passing in perl?
Can inheritance be used in perl?
Explain returning values from subroutines?
You want to empty an array. How would you do that?
how to connect cisco switch uisng perl script
Explain the arguments for perl interpreter.
How will you open a file in read-only mode in perl?
If EXPR is an arbitrary expression, what is the difference between $Foo::{EXPR} and *{"Foo::".EXPR}?
What is automatic error handling in perl?
Hi, I am a accountant. I am preparing a balance sheet but because of staff shortage and time pressures I cant complete it on time. There is lot of common data with last years which I need not retype and I can manage by editing last year’s balance sheet ? Is their any software on net where I can do this easily??
How do I do fill_in_the_blank for each file in a directory?
Comment on the scope of variables in perl.
What does this symbol mean '->'?