FAQ
Ajax.
Mark

Christopher H. Laco wrote:
Carl Franks wrote:
On 26/10/06, leonard.a.jaffe@jpmchase.com <leonard.a.jaffe@jpmchase.com>
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.
Why do you want to run the loop in the background?
What purpose will it serve?

If we can learn your motivation, we can try to find you
At Least One Way To Do It.
It's not that unusual to want to send a response before doing
expensive operations, so that the user doesn't have to wait.

Does fork() play well with catalyst? (I've not yet had a need to try it
myself)

Carl
Personally, rather than fork, I'd suggest some sort of message/request
queue.

-=Chris



------------------------------------------------------------------------

_______________________________________________
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/

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

People

Translate

site design / logo © 2021 Grokbase