Chad Kellerman wrote:
> I have:
>
> foreach my $usr (@users) {
> my $UsrPid;
> unless ($UsrPid = fork) {
> while fork {
> do stuff
> exit 0;
> }
> exit 0;
i don't understand why you need another 'while fork' here.
thte parent goes into the while loop, do stuff and then exit. the child
process simply ignore the while loop and then immediately exit. the child
does nothing. the 'while fork' seems unecessary.
david
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]