Please bottom post...
Mads N. Vestergaard wrote:
> Hey again,
>
> Thanks for the replies.
> I also got it ton work, but I still have on question. Too get the actual
> PID i need to say $$+1, do you guys have any idea why I should do that.
Without seeing some code no, though if there is any forki
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey again,
Thanks for the replies.
I also got it ton work, but I still have on question. Too get the actual
PID i need to say $$+1, do you guys have any idea why I should do that.
In perlvar it also says $PID should return the pid. It doesn't work fo
On 7/11/05, Mads N. Vestergaard <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hey Everybody,
>
> Just a simple question.
> How do I get the PID of my running perl script.
> I would like to have it in my perlscript so I can write it to a .pid file.
>
> Thanks gu
Mads N. Vestergaard wrote:
> Hey Everybody,
>
> Just a simple question.
> How do I get the PID of my running perl script.
> I would like to have it in my perlscript so I can write it to a .pid file.
>
> Thanks guys,
>
> Mads
>
$$ is a special variable that holds what you are after.
perldoc pe
Mads N. Vestergaard wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hey Everybody,
>
Hi there!
> Just a simple question.
> How do I get the PID of my running perl script.
Check out the doc 'perlvar'.
# perldoc perlvar
Then, do a search for 'PID'.
It's in there.
> Thanks guys,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey Everybody,
Just a simple question.
How do I get the PID of my running perl script.
I would like to have it in my perlscript so I can write it to a .pid file.
Thanks guys,
Mads
- --
Mads N. Vestergaard - http://rwxr-xr-x.dk
Interested in Open S