X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst.pm;h=537cae1bff92d8a73447444d5835e18729af0f8f;hp=9d4d6031ee5e5bd876102d41eb52728c0d861598;hb=e260802a2794d499f6faf2619dbbf943541829ab;hpb=abf65c2a15d206a147d712ba3d3a03227b25f48a diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 9d4d603..537cae1 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -527,7 +527,7 @@ sub _comp_search_prefixes { if( @result ) { # Disgusting hack to work out correct method name my $warn_for = lc $prefixes[0]; - my $msg = "Used regexp fallback for \$c->{$warn_for}('${name}'), which found '" . + my $msg = "Used regexp fallback for \$c->${warn_for}('${name}'), which found '" . (join '", "', @result) . "'. Relying on regexp fallback behavior for " . "component resolution is unreliable and unsafe."; my $short = $result[0];