in reply to Re: Hooks like Storable for Dumper?
in thread Hooks like Storable for Dumper?
Great reference about serializing inside-out objects. If I give an extended version of the talk at a conference, I'll probably include that.
For now these options are specified as string values representing the method names. Its possible a later version will extend this to also handle codrefs.
I'm still a little fuzzy on DDS's freeze/thaw handlers. Part of your description reads as if DDS might look for a Freeze() method, but the docs read like one has to register the freezing method name via DDS->Freeze (or rather DDS->FreezeClass) first. Could you give a code example?
So I think that's different from what Storable does looking for a STORABLE_freeze method. Any thought of supporting a DDS_freeze method directly if one exists?
-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^3: Hooks like Storable for Dumper?
by demerphq (Chancellor) on Jan 03, 2006 at 17:03 UTC | |
by xdg (Monsignor) on Jan 03, 2006 at 18:02 UTC | |
by demerphq (Chancellor) on Jan 04, 2006 at 18:28 UTC | |
by demerphq (Chancellor) on Jan 03, 2006 at 18:17 UTC | |
by xdg (Monsignor) on Jan 03, 2006 at 18:49 UTC | |
by demerphq (Chancellor) on Jan 03, 2006 at 19:20 UTC | |
|