Re: [Catalyst] ConfigLoader patch: pretty syntax for plugins

2008-08-04 Thread Brian Cassidy
On Mon, Aug 4, 2008 at 8:51 PM, Dagfinn Ilmari Mannsåker <[EMAIL PROTECTED]> wrote: > I noticed that ConfigLoader's pretty syntax¹ (particluarly with > Config::General) for model, view and controller config didn't extend to > plugin config. > > > Here's a patch that extends the feature to cover plu

[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: bar baz instead of bar baz Here's a patch that extends the feature to cover plugins: === Changes ===

[Catalyst] "Streamed" content delivery?!

2008-08-04 Thread Heiko Jansen
Dear Catalystians. I have a question on how content generation and delivery works in Catalyst. I'll probably have to implement a metasearch / federated search component for an app build with Catalyst. The user submits a request containing a list of databases and a query. For each database the q

Re: [Catalyst] Re: question for mst : using $c->config->{blah} ...

2008-08-04 Thread Matt S Trout
On Mon, Aug 04, 2008 at 01:59:06PM +0200, Daniel McBrearty wrote: > On Mon, Aug 4, 2008 at 11:14 AM, Matt S Trout <[EMAIL PROTECTED]> wrote: > > On Sun, Aug 03, 2008 at 06:30:02PM +0200, Daniel McBrearty wrote: > >> wait, it is on $self not $c, so my reservations don't really apply. > >> > >> but w

Re: [Catalyst] Duplicate entries with C::P::Session::Store::DBIC and MySQL

2008-08-04 Thread Tobias Kremer
On 29 Jul 2008, at 12:30, Tobias Kremer wrote: > The short time window between the find() and create() calls of the > find_or_create() method indeed is the problem. It sounds like this > window should be too small to ever happen but in reality it happens very > often in our (and other's) applicatio

Re: [Catalyst] Re: question for mst : using $c->config->{blah} ...

2008-08-04 Thread Daniel McBrearty
On Mon, Aug 4, 2008 at 11:14 AM, Matt S Trout <[EMAIL PROTECTED]> wrote: > On Sun, Aug 03, 2008 at 06:30:02PM +0200, Daniel McBrearty wrote: >> wait, it is on $self not $c, so my reservations don't really apply. >> >> but what about reall config stuff that can change from one >> installation to ano

Re: [Catalyst] Weak references - perl error

2008-08-04 Thread Dermot
2008/8/2 Matt S Trout <[EMAIL PROTECTED]>: > On Fri, Aug 01, 2008 at 05:16:59PM +0100, Dermot wrote: >> Now I am getting the following error: >> >> Weak references are not implemented in the version of perl at >> /usr/lib/perl5/site_perl/5.8.8/Catalyst.pm line 24 > > perl -MCPAN -e 'force("install

Re: [Catalyst] Re: question for mst : using $c->config->{blah} ...

2008-08-04 Thread Matt S Trout
On Sun, Aug 03, 2008 at 06:30:02PM +0200, Daniel McBrearty wrote: > wait, it is on $self not $c, so my reservations don't really apply. > > but what about reall config stuff that can change from one > installation to another? then you have to do $c->config->{my_var}, > right? How isn't something

Re: [Catalyst] Re: Access to $c->cache from a script

2008-08-04 Thread Matt S Trout
On Sun, Aug 03, 2008 at 04:51:54PM -0400, Kevin Old wrote: > Well, after playing with this for days and not getting anywhere I > assume it can't be done gracefully. You tried just patching C::P::Cache, right? -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Tec