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

2007-07-31 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

Re: [Catalyst] Re: Running MyAppB under MyAppA (only for developers)

2007-07-31 Thread Matt S Trout
On Tue, Jul 31, 2007 at 07:23:20PM +0400, Oleg Pronin wrote: > Thanks for a lot of usefull answers :) I went through this with you at some length in a different thread, and don't have anything else to add. I guess most other people don't either. -- Matt S Trout Need help with your C

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

2007-07-31 Thread Matt S Trout
On Mon, Jul 30, 2007 at 06:19:09PM -0400, Perrin Harkins wrote: > On 7/30/07, Matt S Trout <[EMAIL PROTECTED]> wrote: > > I used to consider it a neat hack. After some time with the internals, > > some fun explicitly disabling it within DBIC since it sometimes broke our > > reconnect code, and even

Re: [Catalyst] Test server as a child process

2007-07-31 Thread Jason Kohles
On Jul 31, 2007, at 7:15 AM, Ivan Fomichev wrote: 2007/7/31, Peter Edwards <[EMAIL PROTECTED]>: Try using IPC::Run. I can see the "You can connect" message when using it to run scripts/myapp_server.pl (I guess it goes through ptys?) I've found the root of the evil. IPC::Run won't help here

Re: [Catalyst] Running MyAppB under MyAppA (only for developers)

2007-07-31 Thread Jason Kohles
On Jul 25, 2007, at 3:23 PM, Oleg Pronin wrote: I need to plug in application B in A, so it could extend A's actions under some namespace. I understand this is not so simple, but i have no other way. I write a dynamic admin interface (Uniadm) that will be plugged in to various projects. It

[Catalyst] Re: Running MyAppB under MyAppA (only for developers)

2007-07-31 Thread Oleg Pronin
Thanks for a lot of usefull answers :) ___ 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-07-31 Thread Andy Grundman
On Jul 31, 2007, at 4:33 AM, Ivan Fomichev wrote: Hello, I intend to write a script, that would start the test server as a child process and then run tests. The thing I'm failing to do is to get output from the test server in order to determine, when the server has started. The problem is tha

Re: [Catalyst] Test server as a child process

2007-07-31 Thread Ivan Fomichev
2007/7/31, Peter Edwards <[EMAIL PROTECTED]>: > Try using IPC::Run. I can see the "You can connect" message when using it to > run scripts/myapp_server.pl (I guess it goes through ptys?) I've found the root of the evil. IPC::Run won't help here :-( The pipe is not autoflushed. If you put '$|++' in

Re: [Catalyst] Test server as a child process

2007-07-31 Thread Jon Schutz
On Tue, 2007-07-31 at 12:33 +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. The thing I'm failing to do is to > get output from the test server in order to determine, when the server > has started. > >

RE: [Catalyst] Test server as a child process

2007-07-31 Thread Peter Edwards
Try using IPC::Run. I can see the "You can connect" message when using it to run scripts/myapp_server.pl (I guess it goes through ptys?) Regards, Peter -Original Message- From: Ivan Fomichev [mailto:[EMAIL PROTECTED] Sent: 31 July 2007 09:34 To: catalyst@lists.rawmode.org Subject: [Catal

[Catalyst] Test server as a child process

2007-07-31 Thread Ivan Fomichev
Hello, I intend to write a script, that would start the test server as a child process and then run tests. The thing I'm failing to do is to get output from the test server in order to determine, when the server has started. The problem is that test server doesn't print its prompt ("You can conne