Home: Perl Programming Help: Beginner:
need same of echo $$ (pid)



Ruru_atwork
Deleted

Mar 20, 2001, 5:13 AM


Views: 307
need same of echo $$ (pid)

Hello all,
i use perl on unix and the script will run via CGI.
i try to retrieve the pid of the scripts.
in ksh, this is simple, just use the variable $$.
How to see that with Perl ?



japhy
Enthusiast

Mar 20, 2001, 12:17 PM


Views: 303
Re: need same of echo $$ (pid)

$$. Gee, that was hard. Next time, please read the perlvar section of the documentation.

Jeff "japhy" Pinyan -- accomplished hacker, teacher, lecturer, and author


Ruru_atwork
Deleted

Mar 20, 2001, 11:48 PM


Views: 298
Re: need same of echo $$ (pid)

oups...

Mea Culpa.