[Catalyst] Catalyst 'forward' function doesn't return any value

Rick Bychowski rick at hiranyaloka.com
Thu Jun 29 14:49:44 GMT 2017


Also my first post to the Catalyst list. :-) Are you on the same perl version on your development machine?
On Jun 29, 2017 5:06 AM, Michał Nowotka <mmmnow at gmail.com> wrote:
>
> Hi,
>
> This is my first message here and my first few days with inherited
> catalyst app so please be understanding.
> I have the catalyst app deployed on a server and I can see code like this:
>
> my $variable = $c->forward(qw/Curate::Controller::Utils _get_timestamp/)
>
> On my local development machine I see the variable is always
> null/none/whatever you call it in the Perl world.
> I guess this is due to some incompatibility in Catalyst versions
> between the server an my dev machine and the 'forward' function has
> changed its behavior in the meantime.
> I've described my problem in a good detail (with code) in this SO question:
>
> https://stackoverflow.com/questions/44824288/catalyst-forward-function-doesnt-return-any-value
>
> Can you please help me figuring out how can I assign the value to the
> variable without stashing it?
>
> Kind regards,
>
> Michał Nowotka
>
> _______________________________________________
> 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