Re: Difference between system() and exec() and ``



Gunnar Hjalmarsson wrote:
swaroop wrote:
As we know there are 3 ways a system shell command to be executed.

1.> $var = system("command");
2.> $var = exec("command");
3.> $var = `command`;

What is difference between these three?

You should not have asked that question here; you should have looked up
the answer in the docs.

Sheesh!

This is the first thing I read on perl.beginners after time away.

Are you really from the Cocos Islands, Gunnar?

I think you should talk to the other abusive people who like to post here and
form a separate group.

Rob
.