What is the difference between for & foreach, exec &
system?
Answer Posted / ram nivas verma
What is the difference between the 'for' & 'foreach' loops? I know that they can be used interchangeably then what is the purpose of keeping them separate? Can anyone suggest me a good url which can tell the difference between two?
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is stdin in perl?
Can we load binary extension dynamically?
Demonstrate subroutines in perl with a simple example.
Write syntax to use grep function?
In Perl, what is grep function used for?
How to read a file into a hash array?
What is the use of now constructor in perl?
What is a perl references?
You want to print the contents of an entire array. How would you do that?
What is the difference between use and require in perl?
Perl uses single or double quotes to surround a zero or more characters. Are the single(' ') or double quotes (" ") identical?
We all know private variables exist in perl. But do private METHODS exist in perl ? Eg ?
What does 'do' statement do in perl?
Give an example of the -i and 0s option usage.
What are the logical operators used for small scale operations?