X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst.pm;h=162c1bfd45dde427d125a0e73c2e0b4820b23972;hb=c03163b837135f3bf3d65380e90b4a68bcc38099;hp=bfedbca43ca07488d5c842c8800db9c85851315c;hpb=46b6daa37c6295df82197dbdd66ab40d82ca13fa;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index bfedbca..162c1bf 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -17,11 +17,9 @@ use Module::Pluggable::Object (); use Text::SimpleTable (); use Path::Class::Dir (); use Path::Class::File (); -use Time::HiRes qw/gettimeofday tv_interval/; use URI (); use URI::http; use URI::https; -use Scalar::Util qw/weaken/; use Tree::Simple qw/use_weak_refs/; use Tree::Simple::Visitor::FindByUID; use attributes; @@ -1112,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) : [] );