X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FClass%2FC3%2FComponentised.pm;fp=lib%2FClass%2FC3%2FComponentised.pm;h=a86108aae096fae9d77a1cbb3f3ab8128057cf05;hb=f8b4872f7016b0fc26b7606591e4c77cf768a0e6;hp=8d3058ad6f1fbb9fc7b77da515235dea2d63bd10;hpb=011bd3f117b6a33537364b21437d894523cfc5a4;p=p5sagit%2FClass-C3-Componentised.git diff --git a/lib/Class/C3/Componentised.pm b/lib/Class/C3/Componentised.pm index 8d3058a..a86108a 100644 --- 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 $@; } };