X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst.pm;fp=lib%2FCatalyst.pm;h=ff5b3cd6335a7fef40608e0e9b39b7d2293e4843;hb=b873d23a9da6963ac7b8245f6f988341e171060f;hp=bed30ee274fab24510b0b8999c32e3a712632c38;hpb=75aff34de50f286204ccee4b293e761c90243b4e;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index bed30ee..ff5b3cd 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -461,6 +461,7 @@ sub _comp_search_prefixes { # don't warn if we didn't find any results, it just might not exist if( @result ) { + $c->log->warn( qq(Found results for "${name}" using regexp fallback.) ); $c->log->warn( 'Relying on the regexp fallback behavior for component resolution is unreliable and unsafe.' ); $c->log->warn( 'If you really want to search, pass in a regexp as the argument.' ); }