start using Class::C3, may need to add a reinitalize bit later, not sure
[catagits/Catalyst-Runtime.git] / lib / Catalyst / DispatchType / Regex.pm
index c417a4c..d21eb75 100644 (file)
@@ -1,10 +1,9 @@
 package Catalyst::DispatchType::Regex;
 
+use Class::C3;
 use Moose;
 extends 'Catalyst::DispatchType::Path';
 
-#use strict;
-#use base qw/Catalyst::DispatchType::Path/;
 use Text::SimpleTable;
 use Text::Balanced ();
 
@@ -15,6 +14,8 @@ has _compiled => (
                   default => sub{ [] },
                  );
 
+no Moose;
+
 =head1 NAME
 
 Catalyst::DispatchType::Regex - Regex DispatchType
@@ -161,7 +162,6 @@ the same terms as Perl itself.
 
 =cut
 
-no Moose;
 __PACKAGE__->meta->make_immutable;
 
 1;