Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: How do I know my process id, from within perl script

by Anonymous Monk
on Jan 03, 2004 at 12:11 UTC ( [id://318499]=note: print w/replies, xml ) Need Help??


in reply to How do I know my process id, from within perl script

$$ or $PID

See perlvar for details.

(Note that $PID is only available if you use English;)

Replies are listed 'Best First'.
Answer: How do I know my process id, from within perl script
by Coruscate (Sexton) on Jan 03, 2004 at 23:58 UTC

    And if you're wondering where to grab $PID from, take a look at the English module.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://318499]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-03-29 14:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found