Matt S Trout wrote:
Fayland Lam wrote:
Lee Standen wrote:
It's a subroutine, right?

Tried a return?....such as:

$c->res->redirect('http://www.yahoo.com');
return undef;

Indeed I want to run the 'while' loop in backend. 'return' would not run the loop I think.

$c->res->redirect(...);
$c->finalize_headers;

<while loop or whatever here>

might do the trick


no, it doesn't work. maybe there is something concerned with 'butter', it's not sent immediately.
and I use mod_perl2, so I'd like to have a try of system.
Thanks any way.

_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/

Reply via email to