X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FDispatchType.pm;h=fb4d0affed12e3676da9191d1cd11a1a02a32df1;hp=28ddbc54c66c2024e0a8724ff3a3eda8ad5600f1;hb=26dc649ad1a74622697f25fcbf29e806e75fcd2f;hpb=ae0e35ee6dd51e78c0ffc2457699beadc7eefab8 diff --git a/lib/Catalyst/DispatchType.pm b/lib/Catalyst/DispatchType.pm index 28ddbc5..fb4d0af 100644 --- a/lib/Catalyst/DispatchType.pm +++ b/lib/Catalyst/DispatchType.pm @@ -1,6 +1,7 @@ package Catalyst::DispatchType; -use Moose; # using it to add Moose::Object to @ISA ... +use Moose; +with 'MooseX::Emulate::Class::Accessor::Fast'; no Moose; =head1 NAME @@ -13,7 +14,12 @@ See L. =head1 DESCRIPTION -This is an abstract base class for Dispatch Types. +This is an abstract base class for Dispatch Types. + +From a code perspective, dispatch types are used to find which actions +to call for a given request URL. Website authors will typically work +with them via subroutine names attributes; a description of dispatch +at the attribute/URL level is given in L. =head1 METHODS