[Catalyst] How to call parent's process() in Catalyst::VIEW::JSON

Jorge Gonzalez jorge.gonzalez at daikon.es
Mon Sep 5 13:11:12 GMT 2016


El 05/09/16 a las 14:28, Kroshka Yenot escribió:
> (...)
> # My
>
> sub process
> {
>     my($self, $c) = @_;
>     $self->Catalyst::View::JSON::process($self, $c);
> }
>
> is not working.
>
Shouldn't it be like this?

    $self->Catalyst::View::JSON::process($c);

I.e. the method call implicitly sends the "$self" parameter as the first
one...

Regards
J.




More information about the Catalyst mailing list