You are viewing the version of this documentation from Perl 5.005_01. View the latest version
$PROCESS_ID
$PID
$$

The process number of the Perl running this script. (Mnemonic: same as shells.)