X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst.pm;h=162c1bfd45dde427d125a0e73c2e0b4820b23972;hp=7c25b1de455ad1c33c6fc8e9dcc281426096515c;hb=7e95ba12950606b1563751e907ef4ed1cdc9d2e2;hpb=75d3bb653f60b685aaf9247364f7616830746b0d diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 7c25b1d..162c1bf 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -1110,7 +1110,7 @@ using C<< $c->req->captures >>. sub uri_for { my ( $c, $path, @args ) = @_; - if ( Scalar::Util::blessed($path) ) { # action object + if ( blessed($path) ) { # action object my $captures = ( scalar @args && ref $args[0] eq 'ARRAY' ? shift(@args) : [] );