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

Michał Nowotka mmmnow at gmail.com
Thu Jun 29 12:06:10 GMT 2017


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:


Can you please help me figuring out how can I assign the value to the
variable without stashing it?

Kind regards,

Michał Nowotka

More information about the Catalyst mailing list