[Catalyst] modperl 1.3 wierdness

2008-04-20 Thread Toby Corkindale
Hi guys, I have an application that runs well on modperl 2.0, fcgi and the standalone server.. but due to some stubborn/paranoid sysadmins[1] we are going to have to run it under modperl 1.3. This has resulted in some wierdness I haven't seen before, and I wondered if anyone else had hit it? I'll

Re: [Catalyst] Why does $c->stats require -Debug flag?

2008-04-20 Thread Jon Schutz
On Sun, 2008-04-20 at 15:15 +0100, Matt S Trout wrote: > So far as I can see, all we really need to do is supply a proxy of the > common Tree::Simple method from the C::Stats object through to $self->{tree} > and we're done. That'll provide compatibility with obvious usages without > adding any si

Re: [Catalyst] Why does $c->stats require -Debug flag?

2008-04-20 Thread Jon Schutz
On Sat, 2008-04-19 at 10:39 -0500, Cory Watson wrote: > On Sat, Apr 19, 2008 at 9:48 AM, Jon Schutz [EMAIL PROTECTED]> wrote: > > > I apologise to anyone who was inconvenienced by this change. > I've > written a guide to upgrading for anyone who was using

Re: [Catalyst] Catalyst::Log::Log4perl autoflush

2008-04-20 Thread David Wright
J. Shirley wrote: On Sat, Apr 19, 2008 at 8:01 AM, David Wright <[EMAIL PROTECTED]> wrote: Hi, It seems that 'autoflush' doesn't mean what it usually does in Catalyst::Log::Log4perl. It usually means that a write should happen immediately, and not be buffered. That isn't the behaviour in Cat

Re: [Catalyst] Re: Unit Testing

2008-04-20 Thread Kieren Diment
On 21 Apr 2008, at 02:43, Aristotle Pagaltzis wrote: * Kieren Diment <[EMAIL PROTECTED]> [2008-04-20 15:45]: perl -e 'for $i (1 .. 48) { system "lynx -dump -nolist http://www.jrock.us/fp2008/catalyst/slide$i.html"}' > jrock.txt I would have proposed that, but any multipart slides are called t

[Catalyst] Re: Unit Testing

2008-04-20 Thread Aristotle Pagaltzis
* Kieren Diment <[EMAIL PROTECTED]> [2008-04-20 15:45]: > perl -e 'for $i (1 .. 48) { system "lynx -dump -nolist > http://www.jrock.us/fp2008/catalyst/slide$i.html"}' > jrock.txt I would have proposed that, but any multipart slides are called things like slide17a.html, slide17b.html etc so your s

Re: [Catalyst] Unit Testing

2008-04-20 Thread Octavian Rasnita
From: "Kieren Diment" <[EMAIL PROTECTED]> Yeah, there's an accessability issue there. Anyway: perl -e 'for $i (1 .. 48) { system "lynx -dump -nolist http:// www.jrock.us/fp2008/catalyst/slide$i.html"}' > jrock.txt Thank you for those pages. I've also found and downloaded the source code. It

Re: [Catalyst] Unit Testing

2008-04-20 Thread Matt S Trout
On Sun, Apr 20, 2008 at 12:51:44PM +1000, Yao Wang wrote: > Hi Everybody, > > Recently, i am looking for some modules for unit testing. I have seen > Catalyst::Test, Test::WWW::Mechanize::Catalyst etc, i think they are the > testing tools for application, not for unit testing. When i do the unit

Re: [Catalyst] Unit Testing

2008-04-20 Thread Matt S Trout
On Sun, Apr 20, 2008 at 10:38:46AM +0300, Octavian Rasnita wrote: > From: "Dave Rolsky" <[EMAIL PROTECTED]> > >On Sat, 19 Apr 2008, John Romkey wrote: > > > >>I suspect that most Catalyst users build their applications so that the > >>controllers do too much work. I certainly did, and I'm graduall

Re: [Catalyst] Catalyst::Log::Log4perl autoflush

2008-04-20 Thread Matt S Trout
On Sun, Apr 20, 2008 at 01:56:04AM +0100, David Wright wrote: > >> It seems that 'autoflush' doesn't mean what it usually does in > >>Catalyst::Log::Log4perl. It usually means that a write should happen > >>immediately, and not be buffered. > >> > >> That isn't the behaviour in Catalyst::Log::Log4p

Re: [Catalyst] Why does $c->stats require -Debug flag?

2008-04-20 Thread Matt S Trout
On Sat, Apr 19, 2008 at 10:39:50AM -0500, Cory Watson wrote: > On Sat, Apr 19, 2008 at 9:48 AM, Jon Schutz > > Nevertheless I stand by my comment that anyone who digs through the > > source code to find an internal object or function and then chooses to > > use that in external code does so at thei

[Catalyst] Re: Unit Testing

2008-04-20 Thread Aristotle Pagaltzis
* Octavian Rasnita <[EMAIL PROTECTED]> [2008-04-20 13:40]: > From: "Jonathan Rockway" <[EMAIL PROTECTED]> >> http://www.jrock.us/fp2008/catalyst/start.html >> >> Using a DBIC-based model works the same way. > > Thank you Jonathan but I couldn't access any kind of helpful > text on that page. It’s

Re: [Catalyst] Unit Testing

2008-04-20 Thread Kieren Diment
On 20 Apr 2008, at 21:26, Octavian Rasnita wrote: From: "Jonathan Rockway" <[EMAIL PROTECTED]> * On Sun, Apr 20 2008, Octavian Rasnita wrote: Please tell us if we can find an example of putting the logic in the model than call those methods from the controller. http://www.jrock.us/fp2008/ca

Re: [Catalyst] Unit Testing

2008-04-20 Thread Ian Sillitoe
This is a great tutorial - many thanks. It also introduces Moose as a Object/Class framework which for some reason I hadn't come across before - at least until I stumbled across a recent conversation on the IRC channel. While I'm sure I would have seen this soon enough, I'm very glad I saw this be

Re: [Catalyst] Unit Testing

2008-04-20 Thread Octavian Rasnita
From: "Jonathan Rockway" <[EMAIL PROTECTED]> * On Sun, Apr 20 2008, Octavian Rasnita wrote: Please tell us if we can find an example of putting the logic in the model than call those methods from the controller. http://www.jrock.us/fp2008/catalyst/start.html Using a DBIC-based model works th

Re: [Catalyst] Unit Testing

2008-04-20 Thread Jonathan Rockway
* On Sun, Apr 20 2008, Octavian Rasnita wrote: > Please tell us if we can find an example of putting the logic in the > model than call those methods from the controller. http://www.jrock.us/fp2008/catalyst/start.html Using a DBIC-based model works the same way. Regards, Jonathan Rockway -- p

Re: [Catalyst] Catalyst::Controller::SOAP + Pod::WSDL?

2008-04-20 Thread Kaare Rasmussen
> also looking to automate the process of generating (and more > importantly, maintaining) the WSDL file describing those services. It > looks like Pod::WSDL does a good job of this, so I was wondering > whether anyone was already working on getting Pod::WSDL to generate > the WSDL file direct

Re: [Catalyst] Unit Testing

2008-04-20 Thread Octavian Rasnita
From: "Dave Rolsky" <[EMAIL PROTECTED]> On Sat, 19 Apr 2008, John Romkey wrote: I suspect that most Catalyst users build their applications so that the controllers do too much work. I certainly did, and I'm gradually rewriting mine to move most of the work into the model. Where before my cont