On Jun 13, 7:32 pm, [EMAIL PROTECTED] wrote:
> On Jun 13, 4:10 pm, [EMAIL PROTECTED] (Owen) wrote:
>
> > I thought there may have been a perl command like "getpid (program)"
> > but it doesn't seem so.
>
> Yeah, sometimes when we make up commands they don't work.
>
> Try the special variable $$ (perldoc perlvar)

$$ is the pid of the Perl program itself.  It has nothing to do with
finding the pid of any given process, as the OP wants to do.

Paul Lalli


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to