in reply to Re: The Singleton design pattern and fork();
in thread The Singleton design pattern and fork();

 Thanks for the reply, and for confirming my suspicion.

 I was assuming that because the $oneTrueSelf' reference would be present in both the parent and the child changes would be reflected in both.

 (Hmm I guess this doesn't really qualify as a Perl question at all, just a misundertanding of how processes work)

Steve
---
steve.org.uk
  • Comment on Re: The Singleton design pattern and fork();