X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst.pm;h=09372ea7083b0331fda71a25fe2fb11bdcda59ab;hb=fbfacafd303a7ca1410b45e83ace4635e8a69da4;hp=0403b00c1bcc0aa086a87f29e2582c605bf34bb5;hpb=364d7324169f5562a0e1405413005ba2ac656e88;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 0403b00..09372ea 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -1817,7 +1817,7 @@ sub setup_components { ); for my $component ( sort { length $a <=> length $b } $locator->plugins ) { - require Class::Inspector->filename($component); + Catalyst::Utils::ensure_class_loaded( $component ); my $module = $class->setup_component( $component ); my %modules = (