X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst.pm;h=ae0cc92dee97854eb5e2015bdc2768d19af7161b;hp=66477ec291a6d7d783e8ef4be1da8a8ee4ef3d61;hb=8abaac85ce28cc1e3fa5d8f56c7b1f71213ac5b3;hpb=3fc0073c71b2590168ab0503100b475cb201a524 diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 66477ec..ae0cc92 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -526,7 +526,7 @@ sub _comp_names { sub _filter_component { my ( $c, $comp, @args ) = @_; - if ( Scalar::Util::blessed($c) && eval { $comp->can('ACCEPT_CONTEXT'); } ) { + if ( eval { $comp->can('ACCEPT_CONTEXT'); } ) { return $comp->ACCEPT_CONTEXT( $c, @args ); }