in reply to Net::Server::PreForkSimple and Children

You're assuming that your variables will be shared when you fork(), but that's not true. Each child process has its own copy of that variable, so changes are local to each child process.

One solution would be to use IPC-Shareable.

  • Comment on Re: Net::Server::PreForkSimple and Children