projects
/
dbsrgits/DBIx-Class-Historic.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
oracle_version
[dbsrgits/DBIx-Class-Historic.git]
/
lib
/
DBIx
/
Class
/
CDBICompat
/
DestroyWarning.pm
1
package # hide from PAUSE
2
DBIx::Class::CDBICompat::DestroyWarning;
3
4
use strict;
5
use warnings;
6
7
sub DESTROY {
8
my ($self) = @_;
9
my $class = ref $self;
10
warn "$class $self destroyed without saving changes to "
11
.join(', ', keys %{$self->{_dirty_columns} || {}})
12
if keys %{$self->{_dirty_columns} || {}};
13
}
14
15
1;