Is there a list of the built-in variables anywhere? If I had know $pid existed I think I would have been able to figure this one out.
Of course, reading your responses was worth the question. Kudos to Brandon for most concise, Jeff gets bonus points for death humor.