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 compare two strings in perl?
Explain perl. What are the advantages of programming in perl?
What is the syntax used in Perl grep function?
What does the q{ } operator do?
Explain perl. When do you use perl for programming? What are the advantages of programming in perl?
Which functions in perl allows you to include a module file. State their differences.
What is the purpose of _package_ literal?
Write syntax to use grep function?
How to code in perl to implement the tail function in unix?
What does 'do' statement do in perl?
Mention what is cpan?
Why -w argument is used with perl programs?
what are the three groups involved in information sharing?
What is the importance of perl warnings? How do you turn them on?
List the operator used in Perl?