give an example for $c->request->path
Caleb Cushing [Thu, 9 Jun 2011 20:35:49 +0000 (15:35 -0500)]
Signed-off-by: Caleb Cushing <xenoterracide@gmail.com>

lib/Catalyst/Request.pm

index 9a7650d..c058daa 100644 (file)
@@ -427,6 +427,10 @@ Shortcut for $req->parameters.
 
 Returns the path, i.e. the part of the URI after $req->base, for the current request.
 
+    http://localhost/path/foo
+
+    $c->request->path will contain 'path/foo'
+
 =head2 $req->path_info
 
 Alias for path, added for compatibility with L<CGI>.