I'm in the middle of designing support for serializing singletons with Storable in Class::InsideOut -- which will be the last feature before 1.0.
I could benefit greatly by hearing some examples and opinions for any or all of these questions:
References to specific modules or applications where I could see code would be very useful, too.
For those who don't understand why serializing singletons is a tricky proposition with Storable, it revolves around the necessary limitations of the STORABLE_attach hook. Here are a few references about it here and on RT:
Advice and insights on this topic would be greatly appreciated.
-xdg
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Storable singletons
by hv (Prior) on Apr 09, 2006 at 03:26 UTC | |
|
Re: Storable singletons
by demerphq (Chancellor) on Apr 09, 2006 at 11:30 UTC | |
by xdg (Monsignor) on Apr 09, 2006 at 13:03 UTC |