X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=README;h=fcab6bd1d9c518fc9fb90960cbe847f8cafee01d;hb=d1e1050923839a4afea929a98a32b98fb4f36a4b;hp=34f800a4925431b5be82cf712b8b78e73392943d;hpb=8088a6f3f0605bb6d33a1e1e5c5245828b8ff56d;p=catagits%2FCatalyst-Action-REST.git diff --git a/README b/README index 34f800a..fcab6bd 100644 --- a/README +++ b/README @@ -284,22 +284,22 @@ IMPLEMENTATION DETAILS The "begin" method uses Catalyst::Action::Deserialize. The "end" method uses Catalyst::Action::Serialize. If you want to override either behavior, simply implement your own "begin" and "end" actions - and use NEXT: + and use MRO::Compat: my Foo::Controller::Monkey; use base qw(Catalyst::Controller::REST); sub begin :Private { my ($self, $c) = @_; - ... do things before Deserializing ... - $self->NEXT::begin($c); + ... do things before Deserializing ... + $self->maybe::next::method($c); ... do things after Deserializing ... } sub end :Private { my ($self, $c) = @_; - ... do things before Serializing ... - $self->NEXT::end($c); + ... do things before Serializing ... + $self->maybe::next::method($c); ... do things after Serializing ... }