From: Marcus Ramberg Date: Tue, 4 Apr 2006 19:51:34 +0000 (+0000) Subject: fixed pod errors X-Git-Tag: 5.7099_04~652 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=76ddf86be66ed259d24226618a1d357e6f606fa1;hp=3b88a4556575f18382261e47214bb281694d8f16 fixed pod errors added pod for Catalyst::View --- diff --git a/lib/Catalyst/Dispatcher.pm b/lib/Catalyst/Dispatcher.pm index e74a49d..5e1f9ae 100644 --- a/lib/Catalyst/Dispatcher.pm +++ b/lib/Catalyst/Dispatcher.pm @@ -43,7 +43,7 @@ application based on the attributes you set. =head1 METHODS -=item new +=head2 new Construct a new dispatcher. diff --git a/lib/Catalyst/Manual/About.pod b/lib/Catalyst/Manual/About.pod index de2690c..0ab2d6d 100644 --- a/lib/Catalyst/Manual/About.pod +++ b/lib/Catalyst/Manual/About.pod @@ -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 Catalyst? Catalyst is not an out-of-the-box solution that allows you to set up a diff --git a/lib/Catalyst/View.pm b/lib/Catalyst/View.pm index 77597a6..d9e884f 100644 --- a/lib/Catalyst/View.pm +++ b/lib/Catalyst/View.pm @@ -9,15 +9,33 @@ Catalyst::View - Catalyst View base class =head1 SYNOPSIS -See L. + 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.) + +=head1 METHODS + +Implements the same methods as other Catalyst components, see +L =head1 AUTHOR Sebastian Riedel, C +Marcus Ramberg, C =head1 COPYRIGHT