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
Is there any way to add two arrays together?
Explain ivalue?
In Perl, what is grep function used for?
What is eval function in perl?
What happens to objects lost in "unreachable" memory, such as the object returned by Ob->new() in `{ my $ap; $ap = [ Ob->new(), $ap ]; }' ?
How to read from a pipeline with Perl
What are the reasons that cookie server can’t handle multiple connections?
Give an example of using the -n and -p option.
what is Perl one liner?
What happens in dereferencing?
What are the advantages of c over Perl?
Which feature of perl provides code reusability?
List the data types that Perl can handle?
Which functions in Perl allows you to include a module file or a module and what is the difference between them?
Explain the difference between die and exit in perl?