Nuke warning, my bad
Tomas Doran [Thu, 7 May 2009 00:15:19 +0000 (00:15 +0000)]
lib/Catalyst/Dispatcher.pm

index c06c2a4..214d031 100644 (file)
@@ -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 {