in reply to Need a module for persistence of dynamic objects
FreezeThaw works, but it can get VERY slow when you have a lot of hash keys.
Storable is superb, really a reference implementation. It is by the FreezeThaw author, but in C, and much faster. I think it should be a core perl module: serialization is becoming important nowadays.
Other possibilities: Yaml, XML::Dumper ...
General warning. I don't think there is yet a way to serialize coderefs, compiled regex's, or (unsurprisingly) handles. These can bite you in the bum sometimes.
dave hj~
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Need a module for persistence of dynamic objects
by theguvnor (Chaplain) on Feb 12, 2002 at 17:03 UTC | |
by dash2 (Hermit) on Feb 12, 2002 at 17:11 UTC |