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.
In reply to Re: Storing Complex Structures in a database
by lhoward
in thread Storing Complex Structures in a database
by xunker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |