in reply to Wait Question

I'm not sure wait you mean; I'd have thought that that's what a subroutine call always does.

wait() does not wait on subroutines, it waits on child processes to exit.