in reply to Database design and Class::DBI

It looks to me like price_type_id should be a 'SET' or 'ENUM' type, and since those don't/shouldn't change, just hardcode them in your class.


MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests.
** The Third rule of perl club is a statement of fact: pod is sexy.