[CDBI] Turning Class::DBI on its side

Dave Howorth dhoworth at mrc-lmb.cam.ac.uk
Wed Jul 25 14:43:30 BST 2007

Duncan Ferguson wrote:
> Bit of a strange cry for help this (not written a module before so some
> of my terminology is probably off, sorry)
> I want to turn the Class::DBI objects on their side; I want to store
> some application configuration within a database table, i.e.

Instead of turning Class::DBI on its side, why not just turn the table
on its side?

Table: prefs
| id | filename          | item_enabled | task_name |
|  0 | /path/to/file.txt |            1 | something |

Then the accessors will JustWork (TM)

Cheers, Dave

More information about the ClassDBI mailing list