Process management: exec()
How it works
The exec() function executes a system command AND
NEVER RETURNS - use system() instead of exec() if
you want it to return. It fails and returns FALSE
only if the command does not exist and it is
executed directly instead of via your system's
command shell.
Examples
exec "sort $outfile | uniq";
exec "./myOtherScript.pl";
Table of Contents.