Re: [RDBO] Problem using check_in with a varchar column

2008-01-31 Thread Sam Tregar
On Jan 31, 2008 3:53 PM, John Siracusa <[EMAIL PROTECTED]> wrote: > I'm assuming it only produces that error when it tries to emit the > Perl code for that class into a .pm file, right? Yes, that's it. I was using the emitted Perl code to debug my auto-init setup. > If so, I think I have the

Re: [RDBO] Problem using check_in with a varchar column

2008-01-31 Thread John Siracusa
On Jan 31, 2008 3:44 PM, Sam Tregar <[EMAIL PROTECTED]> wrote: > $meta->column(status => {type => 'varchar', >default => 'normal', > length => 32, >check_in => ['good', 'normal', >

[RDBO] Problem using check_in with a varchar column

2008-01-31 Thread Sam Tregar
Hello all. I'm trying to ensure that the values for a VARCHAR column are in a defined set. Here's my column def: $meta->column(status => {type => 'varchar', default => 'normal', length => 32, check_in => ['good