-package DBIx::Class::CDBICompat::AutoUpdate;
+package # hide from PAUSE
+ DBIx::Class::CDBICompat::AutoUpdate;
use strict;
use warnings;
sub set_column {
my $self = shift;
- my $ret = $self->NEXT::set_column(@_);
- $self->update if ($self->autoupdate && $self->{_in_database});
+ my $ret = $self->next::method(@_);
+ $self->update if ($self->autoupdate && $self->{_in_storage});
return $ret;
}