in reply to Perl - unix process

I think it would help if you could include the relevant pieces of code from A, B and C so we can make some sense of your post. After reading it a dozen times I am still not sure what you are trying to do and/or how to help you.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.