Am Mittwoch, 6. Juli 2016 13:23:28 UTC+2 schrieb Alexey Stavrov: > > Your local variable $m destroyed in third step of delay. Add something > like "$c->stash(m => $m);" before IO::Loop->delay; >
Damn. Again. ;-( Well, the demo in the gist can be fixed by pulling "my $m = Mango->new();" out of the anonymous sub so it´ll survive the request. Given that I get the same error within the real app code it´s quite probably the same problem. Since the code there is a bit more complicated it´s not quite as obvious where things go wrong so I´ll have to dig in and see what variable goes out of scope where. But now that I know what I´m looking for... Thanks for the hint! - Heiko -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
