[Catalyst] Re: does detach cancel forward

2009-11-08 Thread Aristotle Pagaltzis
* Steve Rippl rip...@woodlandschools.org [2009-11-08 00:55]: But if I put use eval{$c-forward...) as Bill suggested then a detach within that gets me back to where I want to be. I could probably rework things and remove the detaches I have in there and just rely on the appropriate forwards,

Re: [Catalyst] does detach cancel forward

2009-11-08 Thread Andrew Rodland
On Saturday 07 November 2009 05:30:27 pm Andrew Rodland wrote: out, detach throws an extension that unwinds that whole stack. Being tired makes me type words that *sound* similar to the one I meant. Exception. Not extension. Exception. :) Andrew

[Catalyst] $c-visit/go vs. $c-forward/dispatch

2009-11-08 Thread Kiffin Gish
Just curious to learn more about how and when to use $c-visit/go in place of a $c-forward/dispatch. I understand the documented differences, but are there any illustrative examples I could look at to learn more? Also, when would one choose to use a $c-redirect instead? -- Kiffin Gish

Re: [Catalyst] Include a local configuration file

2009-11-08 Thread J. Shirley
2009/11/8 Octavian Râşniţă orasn...@gmail.com Hello, I want to include a configuration file (for generating a menu) in a separate file, not in myapp.pl nor myapp_local.pl. That file (menu.pl) also contains a perl hashref inside. I have included this file using the following line in

[Catalyst] Suppressing exceptions in Engine / UploadProgress

2009-11-08 Thread Bill Moseley
I'm running under mod_perl, and when a user aborts an upload I get an error in the log. [error] Caught exception in engine Apache2::RequestIO::read: (70014) End of file found at /usr/local/share/perl/5.10.0/Catalyst/Engine/Apache.pm line 187 I don't see that it's possible, but is there any way