You are viewing the version of this documentation from Perl 5.7.1. This is a development version of Perl.
$PROCESS_ID
$PID
$$

The process number of the Perl running this script. You should consider this variable read-only, although it will be altered across fork() calls. (Mnemonic: same as shells.)