Fixed docs for comp()
Andy Grundman [Sat, 12 Nov 2005 16:04:09 +0000 (16:04 +0000)]
lib/Catalyst.pm

index 77aa8e9..0e28659 100644 (file)
@@ -342,9 +342,8 @@ Contains the return value of the last executed action.
 
 =item $c->component($name)
 
-Gets a component object by name.
-
-    $c->comp('MyApp::Model::MyModel')->do_stuff;
+Gets a component object by name.  This method is no longer recommended.
+$c->controller, $c->model, and $c->view should be used instead.
 
 =cut