fixed pod errors
Marcus Ramberg [Tue, 4 Apr 2006 19:51:34 +0000 (19:51 +0000)]
added pod for Catalyst::View

lib/Catalyst/Dispatcher.pm
lib/Catalyst/Manual/About.pod
lib/Catalyst/View.pm

index e74a49d..5e1f9ae 100644 (file)
@@ -43,7 +43,7 @@ application based on the attributes you set.
 
 =head1 METHODS
 
-=item new 
+=head2 new 
 
 Construct a new dispatcher.
 
index de2690c..0ab2d6d 100644 (file)
@@ -94,6 +94,8 @@ It has a very large number of "plugins" that interact with existing Perl
 modules so that you can easily use them from within your
 application. 
 
+=over 4
+
 =item * Interact with a web server? 
 
 Catalyst lets you use a number of different ones, and even comes with a
@@ -130,6 +132,8 @@ Catalyst has detailed logging built-in, which you can configure as
 necessary, and supports the easy creation of new tests--some of which
 are automatically created when you begin writing a new application.
 
+=back
+
 =head3 What B<isn't> Catalyst?
 
 Catalyst is not an out-of-the-box solution that allows you to set up a
index 77597a6..d9e884f 100644 (file)
@@ -9,15 +9,33 @@ Catalyst::View - Catalyst View base class
 
 =head1 SYNOPSIS
 
-See L<Catalyst>.
+    package Catalyst::View::Homebrew;
+
+    use base qw/Catalyst::View/;
+
+    sub process {
+    # template processing goes here.
+    }
 
 =head1 DESCRIPTION
 
-Catalyst View base class.
+This is the Catalyst View base class. It's meant to be used as 
+a base class by Catalyst views.
+
+As a convention, views are expected to read template names from 
+$c->stash->{template}, and put the output into $c->res->body.
+Some views default to render a template named after the dispatched
+action's private name. (See L<Catalyst::Action>.)
+
+=head1 METHODS 
+
+Implements the same methods as other Catalyst components, see
+L<Catalyst::Component>
 
 =head1 AUTHOR
 
 Sebastian Riedel, C<sri@oook.de>
+Marcus Ramberg, C<mramberg@cpan.org>
 
 =head1 COPYRIGHT