X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FView.pm;h=1959a77729c323f2bb05ef35ce48592a81007109;hb=26dc649ad1a74622697f25fcbf29e806e75fcd2f;hp=f4e8cadb3d8da1cf96c2f2db91f9617b547f3a1e;hpb=e5ecd5bc38bac3e2fcfaf643ea2a4c6ab46d7e57;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/View.pm b/lib/Catalyst/View.pm index f4e8cad..1959a77 100644 --- a/lib/Catalyst/View.pm +++ b/lib/Catalyst/View.pm @@ -19,15 +19,15 @@ Catalyst::View - Catalyst View base class =head1 DESCRIPTION -This is the Catalyst View base class. It's meant to be used as +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 +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 +=head1 METHODS Implements the same methods as other Catalyst components, see L @@ -46,16 +46,9 @@ sub process { } -=head2 $c->merge_hash_config( $hashref, $hashref ) +=head1 AUTHORS -Merges two hashes together recursively, giving right-hand precedence. - -=cut - -=head1 AUTHOR - -Sebastian Riedel, C -Marcus Ramberg, C +Catalyst Contributors, see Catalyst.pm =head1 COPYRIGHT @@ -64,4 +57,7 @@ the same terms as Perl itself. =cut +no Moose; +__PACKAGE__->meta->make_immutable(); + 1;