bye bye Class::C3. for good.
[catagits/Catalyst-Runtime.git] / lib / Catalyst / DispatchType.pm
index 99ce561..d763eb6 100644 (file)
@@ -1,6 +1,7 @@
 package Catalyst::DispatchType;
 
-use Moose;
+use Moose; # using it to add Moose::Object to @ISA ...
+no Moose;
 
 =head1 NAME
 
@@ -12,7 +13,7 @@ See L<Catalyst>.
 
 =head1 DESCRIPTION
 
-This is an abstract base class for Dispatch Types.
+This is an abstract base class for Dispatch Types. 
 
 =head1 METHODS
 
@@ -37,7 +38,7 @@ sub match { die "Abstract method!" }
 =head2 $self->register( $c, $action )
 
 abstract method, to be implemented by dispatchtypes. Takes a
-context object and a L<Catalyst::Action> object.
+context object and a L<Catalyst::Action> object. 
 
 Should return true if it registers something, or false otherwise.
 
@@ -69,4 +70,6 @@ the same terms as Perl itself.
 
 =cut
 
+__PACKAGE__->meta->make_immutable;
+
 1;