Re: [Catalyst] FastCGI startup strangeness

2014-09-18 Thread Dagfinn Ilmari Mannsåker
Daniel J. Luke dl...@geeklair.net writes: I noticed today that an app I'm working on will start fine only if the user who is running the app can read the current directory (ie, if I'm starting it as a user dedicated to running the app, that user must have read permission on CWD). Couldn't

[Catalyst] Re: Defining ARRAY in Config::General config

2010-09-21 Thread Dagfinn Ilmari Mannsåker
Pavel A. Karoukin pa...@yepcorp.com writes: On Tue, Sep 21, 2010 at 8:06 AM, Emanuele Zeppieri ema...@gmail.com wrote: To obtain single value arrays with the syntax in question, the above line should be: my $conf = Config::General-new( -ConfigFile = 'config.conf', -ForceArray = 1 ); How

[Catalyst] Re: How to send raw HTTP response

2008-09-28 Thread Dagfinn Ilmari Mannsåker
Tomas Doran [EMAIL PROTECTED] writes: On 27 Sep 2008, at 19:48, Matt S Trout wrote: Just call $c-write($chunk) with each chunk of data as you get it. Catalyst will automatically send headers before the first chunk for you. Do -not- rely on STDOUT being an appropriate filehandle to print

[Catalyst] ConfigLoader patch: pretty syntax for plugins

2008-08-04 Thread Dagfinn Ilmari Mannsåker
Hi all, I noticed that ConfigLoader's pretty syntax¹ (particluarly with Config::General) for model, view and controller config didn't extend to plugin config. [1]: Like this: Model Foo bar baz /Model instead of Model::Foo bar baz /Model::Foo Here's a patch that extends the feature

[Catalyst] Re: X-Forwarded-For

2008-04-02 Thread Dagfinn Ilmari Mannsåker
Bill Moseley [EMAIL PROTECTED] writes: On Tue, Apr 01, 2008 at 11:38:15PM -0400, Andy Grundman wrote: When using X-Forwarded-For you cannot trust any value that is not added by your own upstream proxy, so we only want to use the last value in the list. Ah, right. In this case I've

[Catalyst] Re: More Catalyst slides

2008-02-21 Thread Dagfinn Ilmari Mannsåker
Jonathan Rockway [EMAIL PROTECTED] writes: Hello, Hi Jon, I gave a Catalyst talk at Frozen Perl last weekend. The slides are here: http://www.jrock.us/fp2008/catalyst/start.html […] The code is also available; it's linked to from the slides. I just went through the slides and code

[Catalyst] Config-only components

2008-02-11 Thread Dagfinn Ilmari Mannsåker
Hi all, Castaway mentioned the idea of having components defined entirely by config entries, without the need for any actual class files on disk, and I was bored, so I went ahead and implemented it. For each config key matching ^([MVC]|Model|View|Controller):: it checks if the corresponding