projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
updated require idiom to use new ensure_class_loaded() method
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst.pm
diff --git
a/lib/Catalyst.pm
b/lib/Catalyst.pm
index
0403b00
..
09372ea
100644
(file)
--- 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 = (