[Catalyst] How to call parent's process() in Catalyst::VIEW::JSON
Kroshka Yenot
trashbox at cary.lv
Mon Sep 5 13:18:58 GMT 2016
Unbelivable huge thanks! It works!
¡muchas gracias
05.09.2016 16:11, Jorge Gonzalez пишет:
> 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.
>
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
More information about the Catalyst
mailing list