projects
/
p5sagit/Class-C3-Componentised.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Stop importing Carp functions
[p5sagit/Class-C3-Componentised.git]
/
lib
/
Class
/
C3
/
Componentised.pm
diff --git
a/lib/Class/C3/Componentised.pm
b/lib/Class/C3/Componentised.pm
index
8d3058a
..
a86108a
100644
(file)
--- a/
lib/Class/C3/Componentised.pm
+++ b/
lib/Class/C3/Componentised.pm
@@
-47,7
+47,7
@@
use warnings;
# Therefore leaving it in indefinitely.
use MRO::Compat;
-use Carp;
+use Carp ();
our $VERSION = 1.0008;
@@
-151,7
+151,7
@@
sub ensure_class_loaded {
if ($class->can('throw_exception')) {
$class->throw_exception($@);
} else {
- croak $@;
+ Carp::croak $@;
}
};