Fayland Lam [EMAIL PROTECTED]
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
Hi,
I think the idea is to start a long-running process based on a web-
based trigger and allow the user to proceed on to do other
things. In other systems a fork() would probably be in order.
I'm curious also - is there a Catalyst specific way of doing
something like that...? and if not,
Carl Franks wrote:
On 26/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Fayland Lam [EMAIL PROTECTED] 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
On 26/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Fayland Lam [EMAIL PROTECTED] 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'
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
I've done a couple of Catalyst installs in the last few days, one on
OS X and one on Ubuntu Linux, both using the cat-install script.
The installs seemed to go fine, but when I run catalyst.pl MyApp I
get this error:
Can't locate Catalyst/Helper.pm in @INC (@INC contains: /etc/perl
On Thu, Oct 26, 2006 at 11:55:37AM -0400, [EMAIL PROTECTED] wrote:
I've done a couple of Catalyst installs in the last few days, one on
OS X and one on Ubuntu Linux, both using the cat-install script.
The installs seemed to go fine, but when I run catalyst.pl MyApp I
get this error:
Can't
Ajax.
Mark
Christopher H. Laco wrote:
Carl Franks wrote:
On 26/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Fayland Lam [EMAIL PROTECTED] wrote:
Lee Standen wrote:
It's a subroutine, right?
Tried a return?such as:
$c-res-redirect('http://www.yahoo.com');
return undef;
]
Carl Franks [EMAIL PROTECTED] wrote on 10/26/2006 10:15:18 AM:
On 26/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED]
com wrote:
Fayland Lam [EMAIL PROTECTED] wrote:
Lee Standen wrote:
It's a subroutine, right?
Tried a return?such as:
* Mark Ethan Trostler [EMAIL PROTECTED] [2006-10-26 19:00]:
Christopher H. Laco wrote:
Personally, rather than fork, I'd suggest some sort of
message/request queue.
Ajax.
Some people, when confronted with a problem, think “I know, I’ll
use Javascript.” Now they have two problems.
(With
Hello,
I'm trying to install Catalyst,. I've started with Catalyst-Runtime
and (as far as I know) I have all the dependencies installed.
However, three tests in t/live_engine_response_cookies are failing.
I've attached the output from that chunk.
How about system($cmd ) ?
If the job can handle it, I tend to agree with the job-queue aproach. This can
provide other forward gains like being able to distribute the work over
multiple systems.
---
Rodney Broom
___
List:
From: Jonathan Rockway [EMAIL PROTECTED]
system($cmd );
I 'system(nohup ... /tmp/file )'
Please, no scalar system() calls in a web application. Thanks.
How come?
---
Rodney Broom
___
List: Catalyst@lists.rawmode.org
Listinfo:
How come?
I recommend reading perldoc perlsec. The one-argument form of
Csystem invokes the system's shell to process the command (usually),
leading to a number of possible security problems. Basically you're
entering into the fun game of trying to escape all possible bad inputs,
which is
Ah, injection. Yes, you're completely right. My meaning in $cmd was to say,
whatever your command is
Personally, I tend to only only interpret input, as apposed to using it
directly. ie;
$cmd_to_run = $allowed_commands{$input_cmd_menu_item}
...but now I'm OT. ;)
---
Rodney Broom
-
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(...);
On 10/26/06, Matt Patterson [EMAIL PROTECTED] wrote:
Hello,
I'm trying to install Catalyst,. I've started with Catalyst-Runtime
and (as far as I know) I have all the dependencies installed.
However, three tests in t/live_engine_response_cookies are failing.
I've attached the output from that
17 matches
Mail list logo