Re: [Catalyst] do I need to load Apache::DBI?

2007-08-01 Thread Perrin Harkins
On 7/31/07, Matt S Trout [EMAIL PROTECTED] wrote:
 Except in the DBIx::Class, Class::DBI and plain DBI apps I've brought back
 to production quality stability by removing it.

DBIx::Class and Class::DBI both handle connection caching on their
own, so that is not where one would need Apache::DBI.  It's meant to
be used with plain DBI apps that aren't already doing connection
caching.  I will get the Apache::DBI docs updated to make this clear.

 There's no implication - sometimes it doesn't work. Mostly it does. 
 Producing
 a repeatable test case has proven pretty much impossible due to the hackiness
 of the implementation.

Usually when people have trouble it's due to clashes with some other
code that was trying to cache connections.  If you find a situation
like this again, a bug report of some kind would be appreciated.

- Perrin

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


Re: [Catalyst] Test server as a child process

2007-08-01 Thread Matt S Trout
On Tue, Jul 31, 2007 at 12:33:52PM +0400, Ivan Fomichev wrote:
 Hello,
 
 I intend to write a script, that would start the test server as a
 child process and then run tests.

Why not just use Test::WWW::Mechanize::Catalyst which embeds a server instance
in the test script?

Using the test server instead is really just testing Catalyst::Engine as
well as your code, and we already have a test suite.

-- 
  Matt S Trout   Need help with your Catalyst or DBIx::Class project?
   Technical DirectorWant a managed development or deployment platform?
 Shadowcat Systems Ltd.  Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/http://www.shadowcat.co.uk/ 

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