X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FDispatcher.pm;h=214d0313c4f5803f568c176b5817dff8049cee1a;hb=3c9b6867515767b70b7771dd0c32a532f23e876b;hp=c06c2a4f7ec315054e4ad6b24a68c4e0f3d70006;hpb=3cd3bc6ae6c0282f98f1dd65676b98be379933ce;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Dispatcher.pm b/lib/Catalyst/Dispatcher.pm index c06c2a4..214d031 100644 --- a/lib/Catalyst/Dispatcher.pm +++ b/lib/Catalyst/Dispatcher.pm @@ -707,7 +707,6 @@ foreach my $public_method_name (qw/ my %package_hash; # Only warn once per method, per package. These are infrequent enough that # I haven't provided a way to disable them, patches welcome. $meta->add_before_method_modifier($public_method_name, sub { - my $class = blessed(shift); my $class = caller(2); chomp($class); $package_hash{$class}++ || do {