Multiple choice technology programming languages

Which Perl function can be used to launch a child process to run a program?

  1. split

  2. spin

  3. fork

  4. system

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The system() function in Perl executes a program as a child process and returns the exit status. While fork() can create child processes, system() is specifically designed to run external programs. The split function is for splitting strings, and 'spin' is not a Perl function.