Seems to me the fields key should point to an array ref, rather than a hash ref. Then the create_table function will get them in the ORDER in which they are written, not some random one. Of course as far as the DB is concerned the field order does not really matter, but when it comes to a person looking at the raw table data, or if you are doing the lazy SELECT *.....
In reply to Re: Interface suggestions
by tachyon-II
in thread Interface suggestions
by dhosek
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |