X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FDispatchType%2FPath.pm;h=69e91da6533243ab3d14008ee303169202bea679;hp=36aaa1fbe9710e24f9ed02d0fe7deae97f53e340;hb=0fc2d522eec43202c21e9f0062e43f10db4d9008;hpb=36dbb986bd549b6e6704c81b654b9fef90eb03a8 diff --git a/lib/Catalyst/DispatchType/Path.pm b/lib/Catalyst/DispatchType/Path.pm index 36aaa1f..69e91da 100644 --- a/lib/Catalyst/DispatchType/Path.pm +++ b/lib/Catalyst/DispatchType/Path.pm @@ -1,10 +1,9 @@ package Catalyst::DispatchType::Path; +use Class::C3; use Moose; extends 'Catalyst::DispatchType'; -#use strict; -#use base qw/Catalyst::DispatchType/; use Text::SimpleTable; use URI; @@ -15,6 +14,8 @@ has _paths => ( default => sub { +{} }, ); +no Moose; + =head1 NAME Catalyst::DispatchType::Path - Path DispatchType @@ -140,4 +141,6 @@ the same terms as Perl itself. =cut +__PACKAGE__->meta->make_immutable; + 1;