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=6f111d9dd75e9e99c76159a06661573bd5ca6a48;hb=dfa27f53795d92fb1b4f38dfbc17c6af3bdc4e86;hpb=10011c19cb6f294d1d16c1a1fb484614a7c5dcba diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 6f111d9..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; @@ -77,7 +75,7 @@ __PACKAGE__->stats_class('Catalyst::Stats'); # Remember to update this in Catalyst::Runtime as well! -our $VERSION = '5.8000_05'; +our $VERSION = '5.8000_06'; sub import { my ( $class, @arguments ) = @_; @@ -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) : [] );