What's behind the 'system' function in perl?
Posted
by JohnJohnGa
on Stack Overflow
See other posts from Stack Overflow
or by JohnJohnGa
Published on 2010-04-24T11:53:01Z
Indexed on
2010/04/24
12:03 UTC
Read the original article
Hit count: 237
perl
i can thought that it will open a shell, execute the parameter (shell command) and return the result in a scalar. But, execute 'system' function in a perl script is faster than a shell command. It will call this command in C? If yes, what's the difference between
rmdir foo
and
system('rmdir foo');
Thanks,
© Stack Overflow or respective owner