X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=README;h=fcab6bd1d9c518fc9fb90960cbe847f8cafee01d;hb=665a446debcdb5bc02aae2034ad4172a7899e054;hp=34f800a4925431b5be82cf712b8b78e73392943d;hpb=b018a7c4fc35d5e89294fd9155a173ffecf51975;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 ... }