How do you get the process id of the child process?

I tried this

if ($pid = fork)

but the $pid is an invalid negative number.

I also tried to use $$ in the child process code which supposes to
return the pid of the current process.

It was the same invalid negative number.

I am running v5.6.1 under win2k.

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

Reply via email to