X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FView.pm;h=4c0756293467750c2d148644e1922ff094048e28;hp=ef5a44704709e62f048bedbdea7a3a4687c1ea0f;hb=4a62800defdaa16ec1a5bef88f3e639c983b6f1d;hpb=6f1f968a6bc42bf4a4b50a1ee22d3aaecd801876 diff --git a/lib/Catalyst/View.pm b/lib/Catalyst/View.pm index ef5a447..4c07562 100644 --- a/lib/Catalyst/View.pm +++ b/lib/Catalyst/View.pm @@ -1,7 +1,5 @@ package Catalyst::View; -use MRO::Compat; -use mro 'c3'; use Moose; extends qw/Catalyst::Component/; @@ -21,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 @@ -48,25 +46,18 @@ 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 -This program is free software, you can redistribute it and/or modify it under +This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself. =cut no Moose; -#__PACKAGE__->meta->make_immutable(); +__PACKAGE__->meta->make_immutable(); 1;