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
How to create a directory in perl?
What is the use of -t?
What does redo statement do in perl?
How to get help for perl?
What does delete function do in perl?
What is the difference between use and require in perl?
What are stdin, stdout and stderr?
Explain '->' in perl?
What is Perl?
When would `local $_' in a function ruin your day?
how to extract pin_code,phone_number,year from text file using regular expressions in perl
What does file test operators do in perl?
If you want to empty an array then how would you do that?
Why to use perl scripting?
Define print() function in perl?