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
What is hash?
Explain the meaning of closure in perl.
Why to use perl?
Explain a tell function in perl?
Why Perl aliases are considered to be faster than references?
Write a program to download the contents from www.perlinterview.com/answers.php website in Perl.
What happens in dereferencing?
Is perl a case sensitive language?
How interpreter is used in perl?
What is the purpose of “_file_ literal” and “_line_ literal” in perl?
How to read from a pipeline with Perl
List the prefix dereferencer in Perl.
How to implement a stack in Perl?
Explain the arguments for perl interpreter.
Explain the functioning of conditional structures in perl.