in reply to Re: How do I know my process id, from within perl scriptin thread How do I know my process id, from within perl script
And if you're wondering where to grab $PID from, take a look at the English module.