I would add a method to my configuration module that exports a hash with configuration items as keys and the needed values as values. Then all you have to do is loop over the keys to create SQL statements you can run in the DB, like:
INSERT INTO configs VALUES ('myKey','myValue');
Celebrate Intellectual Diversity
In reply to Re: mapping complex structures to mysql tables
by InfiniteSilence
in thread mapping complex structures to mysql tables
by niubi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |