X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FUtils.pm;h=30ca196cc24cd2537f1645c202566a4b247de5c8;hp=9f602f6acfba61e52750b4638646644aa13e77f6;hb=88e5a8b0c4d28e46b8ba6b6b9567063e57af9063;hpb=9868e0a0023cc8b598d60f150ea367e0056a65f3 diff --git a/lib/Catalyst/Utils.pm b/lib/Catalyst/Utils.pm index 9f602f6..30ca196 100644 --- a/lib/Catalyst/Utils.pm +++ b/lib/Catalyst/Utils.pm @@ -572,7 +572,7 @@ sub inject_component { croak "Unable to build component package for \"$component_package\": $@"; Moose::Util::apply_all_roles($component_package, @{$given{traits}}) if $given{traits}; (my $file = "$component_package.pm") =~ s{::}{/}g; - $INC{$file} ||= 1; + $INC{$file} ||= 1; } my $_setup_component = sub {