Just to make sure I'm understanding this correctly: This is when you try and do a $col->set_x
where x is not defined as an acceptable enumeration value?
Like
__PACKAGE__->add_columns(
color => {
data_type => 'varchar',
is_enum => 1,
extra => {
list => [qw/red green blue/]
}
}
);
# later
$col->set_pink; # should croak
On Tue Jan 17 08:34:35 2012, OVID wrote:
Show quoted text> It would be very handy if, when setting a new value, this module would
> croak() instead of silently refusing to set the new value.