in reply to need help on wait();

It works like wait() in unix -- it waits for a single process. What have you tried that didn't work?

If you need some ideas, see perlipc or "perldoc perlipc".

bluto