Catalyst::Plugin::Continuation should do that. But it appears to be
broken with the current Catalyst version. Or at least I was not able
to make it work.
Catalyst::Plugin::Continuation would have been perfect (it even has a test
case that suits my needs:
but I haven't been able to make it work either.
At the moment, I am not comfortable enough with the inner workings of Catalyst
to fix the module myself. Maybe later...
Searchable archive: http://firstname.lastname@example.org/
Dev site: http://dev.catalyst.perl.org/