projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Cleanup of stale constructor codepath comments
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
Carp.pm
diff --git
a/lib/DBIx/Class/Carp.pm
b/lib/DBIx/Class/Carp.pm
index
6bec374
..
ecd0864
100644
(file)
--- a/
lib/DBIx/Class/Carp.pm
+++ b/
lib/DBIx/Class/Carp.pm
@@
-81,10
+81,10
@@
sub import {
);
};
- my $fired;
+ my $fired = {};
*{"${into}::carp_once"} = sub {
- return if $fired;
- $fired = 1;
+ return if $fired->{$_[0]};
+ $fired->{$_[0]} = 1;
$warn->(
__find_caller($skip_pattern, $into),