Perl 5 version 12.3 documentation
Returns the process id of the parent process.
Note for Linux users: on Linux, the C functions
getppid()return different values from different threads. In order to be portable, this behavior is not reflected by the Perl-level function
getppid(), that returns a consistent value across threads. If you want to call the underlying
getppid(), you may use the CPAN module