in reply to Storing Complex Structures in a database
However, if all you want to do is take a perl datastructure, and then save it into a DB for later ressurection you should look at Storable, FreezeThaw and Data::Dumper. The process is called serilization and is very DB independant. Just serilize your data structure and shove it in a VARCHAR field. You can retrieve and re-inflate it from that field later. However, this is only an apropriate solution if you do not need to access the contents of the structure until you can "inflate" it back into perl.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: Storing Complex Structures in a database
by jreades (Friar) on Oct 02, 2000 at 20:05 UTC | |
by lhoward (Vicar) on Oct 02, 2000 at 20:53 UTC |