projects
/
catagits/Catalyst-View-Component-SubInclude.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Make the subrequest plugins Moose classes with a constructor
[catagits/Catalyst-View-Component-SubInclude.git]
/
lib
/
Catalyst
/
View
/
Component
/
SubInclude
/
Visit.pm
diff --git
a/lib/Catalyst/View/Component/SubInclude/Visit.pm
b/lib/Catalyst/View/Component/SubInclude/Visit.pm
index
d5c5ec0
..
7ffae03
100644
(file)
--- a/
lib/Catalyst/View/Component/SubInclude/Visit.pm
+++ b/
lib/Catalyst/View/Component/SubInclude/Visit.pm
@@
-1,9
+1,7
@@
package Catalyst::View::Component::SubInclude::Visit;
-use warnings;
-use strict;
-
+use Moose;
use Carp qw/croak/;
-use namespace::clean;
+use namespace::clean -except => 'meta';
=head1 NAME
@@
-104,4
+102,5
@@
under the same terms as Perl itself.
=cut
+__PACKAGE__->meta->make_immutable;
1;