package Catalyst::View;
-use strict;
-use base qw/Catalyst::Component/;
+use Moose;
+extends qw/Catalyst::Component/;
=head1 NAME
=cut
-sub merge_config_hashes {
- my ( $self, $lefthash, $righthash ) = @_;
-
- my %merged = %$lefthash;
- for my $key ( keys %$righthash ) {\r
- my $right_ref = ( ref $righthash->{ $key } || '' ) eq 'HASH';\r
- my $left_ref = ( ( exists $lefthash->{ $key } && ref $lefthash->{ $key } ) || '' ) eq 'HASH';\r
- if( $right_ref and $left_ref ) {\r
- $merged{ $key } = $self->merge_config_hashes(
- $lefthash->{ $key }, $righthash->{ $key }
- );\r
- }
- }
-}
-
+=head1 AUTHORS
-=head1 AUTHOR
-
-Sebastian Riedel, C<sri@oook.de>
-Marcus Ramberg, C<mramberg@cpan.org>
+Catalyst Contributors, see Catalyst.pm
=head1 COPYRIGHT
=cut
+no Moose;
+__PACKAGE__->meta->make_immutable();
+
1;