From: David Kamholz Date: Tue, 4 Jul 2006 17:11:24 +0000 (+0000) Subject: don't export some functions we don't need to export; trivial doc fix X-Git-Tag: 5.7099_04~437 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=c50f595caef53fbc64b59df788253ab5558ef953;hp=eed933017cf2b84d65e016fe75ac16b32280f35c don't export some functions we don't need to export; trivial doc fix --- diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index d7b53ae..15cbac1 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -12,13 +12,13 @@ use Catalyst::Utils; use Catalyst::Controller; use Devel::InnerPackage (); use File::stat; -use Module::Pluggable::Object; +use Module::Pluggable::Object (); use NEXT; -use Text::SimpleTable; -use Path::Class::Dir; -use Path::Class::File; +use Text::SimpleTable (); +use Path::Class::Dir (); +use Path::Class::File (); use Time::HiRes qw/gettimeofday tv_interval/; -use URI; +use URI (); use Scalar::Util qw/weaken blessed/; use Tree::Simple qw/use_weak_refs/; use Tree::Simple::Visitor::FindByUID; @@ -860,8 +860,8 @@ EOF =head2 $c->uri_for( $path, @args?, \%query_values? ) -Merges path with C<$c-Erequest-Ebase> for absolute URIs and with -C<$c-Enamespace> for relative URIs, then returns a normalized L +Merges path with C<< $c->request->base >> for absolute URIs and with +C<< $c->namespace >> for relative URIs, then returns a normalized L object. If any args are passed, they are added at the end of the path. If the last argument to C is a hash reference, it is assumed to contain GET parameter key/value pairs, which will be appended to the URI @@ -869,7 +869,7 @@ in standard fashion. Instead of C<$path>, you can also optionally pass a C<$action> object which will be resolved to a path using -C<$c-Edispatcher-Euri_for_action>; if the first element of +C<< $c->dispatcher->uri_for_action .>; if the first element of C<@args> is an arrayref it is treated as a list of captures to be passed to C.