http://qs1969.pair.com?node_id=98548


in reply to How to get the PID of an invoked process

From perldoc perlvar.

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

redmist
Silicon Cowboy