You're doing too much work, I expect. DBIx::Class::Row->update contains-
my %to_update = $self->get_dirty_columns or return $self;
So update is already no-op if nothing has changed (it can be forced to update individual columns anyway with make_column_dirty). If you really want to know if something/anything has changed there is also the method is_changed (and is_column_changed to boot).
In reply to Re: checking for dirtyness in DBix::Class
by Your Mother
in thread checking for dirtyness in DBix::Class
by morgon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |