What’s the difference between Perl’s backticks, system, and exec?

Can someone please help me? In Perl, what is the difference between:

exec "command";

and

system("command");

and

print `command`;

Are there other ways to run shell commands too?

5 Answers
5

Leave a Comment