Perl Programming/Keywords/getppid

The getppid keyword

The getppid function returns the process ID of the parent process.

Syntax

  getppid

Examples

   print getppid;