What is the difference between for & foreach, exec &
system?
Answer Posted / mvamsi
Hi Ramesh, You mean to say that we can't capture output of
the program by using exec function. But its working in my PC.
my $ls = exec('ls');
| Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
Which has highest precedence in between list and terms? Explain?
What happens in dereferencing?
How interpreter is used in perl?
How to convert strings into an array in perl?
How are parameters passed to subroutines in perl?
How to implement a stack in Perl?
What are the reasons that cookie server can’t handle multiple connections?
What does -> symbol indicates in Perl?
What syntax is used for grep() function?
How will you open a file in a write-only mode in perl?
Explain perl one-liner?
What is the tk module?
Explain perl. When do you use perl for programming?
what is Chop & Chomp function does?
Explain use of ‘my’ keyword in perl?