Simple multi-level tie

2003-12-17 Thread Andrew Sterling Hanenkamp
I would like the ability to store a complicated record inside of a DBM file. I looked in the usual places and perldoc -q DBM gives me: Either stringify the structure yourself (no fun), or else get the MLDBM (which uses Data::Dumper) module from CPAN and layer it on top of

Re: Simple multi-level tie

2003-12-17 Thread Mark Stosberg
On Wed, Dec 17, 2003 at 02:00:23PM -0600, Andrew Sterling Hanenkamp wrote: Therefore, I went in search of a solution to automate the stringification. I didn't find anything other than MLDBM for doing something like this and it seems like a little much for my purposes. All I need is

Re: Simple multi-level tie

2003-12-17 Thread david nicol
On Wed, 2003-12-17 at 14:00, Andrew Sterling Hanenkamp wrote: Therefore, I went in search of a solution to automate the stringification. I didn't find anything other than MLDBM for doing something like this and it seems like a little much for my purposes. All I need ... As I understand it,

Re: Simple multi-level tie

2003-12-17 Thread Andrew Sterling Hanenkamp
On Wed, 2003-12-17 at 17:15, david nicol wrote: As I understand it, the standard way to (de)marshall things anymore is to use Storable. see DirDB::Storable for an example of a multi-level tie that punts anything other than scalars and unblessed hashrefs to Storable for nstorage and retreival.

Re: Simple multi-level tie

2003-12-17 Thread Randy W. Sims
On 12/18/2003 12:25 AM, Andrew Sterling Hanenkamp wrote: Wrapping hashes with arbitrary inflate/deflate methods. This is a tool that adds syntactic sugar to hashes. I developed it for the purpose of making complicated storage in hashes tied to DBM files nicer. It doesn't matter if you use

RE: Simple multi-level tie

2003-12-17 Thread Hugh S. Myers
I actually like names that sound like foodg! On a slightly more serious note---If I were looking for stringification, I wouldn't be looking under HashWrapper. Perhaps Tie::HashStringify or the like? --hsm -Original Message- From: Andrew Sterling Hanenkamp [mailto:[EMAIL PROTECTED]