http://www.perlmonks.org?node_id=356837


in reply to Re: system calls problem
in thread system calls problem

Be aware of the fact that the reason that exec doesn't return is that the called program is run instead of the caller. The program image of your script (i.e. the Perl interpreter running your script in memory) is replaced with the execed program.

Arjen