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 does next statement do in perl?
What is eval function in perl?
Mention how many ways you can express string in Perl?
What are the advantages and disadvantages of perl language?
How to sort arrays in perl?
what are the two ways to get private values inside a subroutine or block?
Explain USE and REQUIREMENT statements?
What is the use of "stderr()"?
How many loop control keywords are there in perl?
Which guidelines by Perl modules must be followed?
There are two types of eval statements i.e. Eval expr and eval block. Explain them.
Differentiate between use and require, my and local, for and foreach and exec and system
what is perl language?
What happens to objects lost in "unreachable" memory, such as the object returned by Ob->new() in `{ my $ap; $ap = [ Ob->new(), $ap ]; }' ?
What are the two ways to get private values inside a subroutine?