Re: [Catalyst] Re: prepare_body_chunk in Catalyst 5.9

2012-07-16 Thread Eric Wright
Actually that does help Peter. I went and implemented a custom request class but this looks much cleaner. Thanks for the tip. Best, Eric On Sat, Jul 14, 2012 at 12:53 PM, Peter Flanigan p...@roxsoft.co.uk wrote: On 12/07/12 21:42, Eric Wright wrote: Looking into this further - in the the

Re: [Catalyst] prepare_body_chunk in Catalyst 5.9

2012-07-16 Thread Tomas Doran
On 12 Jul 2012, at 21:42, Eric Wright wrote: Looking into this further - in the the source for Catalyst I see that the prepare_body statement has been moved to the Request object removing the ability to hook into this event via the Plugin architecture. I was using this hook to monitor the

Re: [Catalyst] prepare_body_chunk in Catalyst 5.9

2012-07-16 Thread Eric Wright
Hi Tomas, Nope. I don't have a problem with making the change. I like the idea using the role applicator so I can keep things neatly packaged in a separate plugin. (One of those cases where the Plugin approach makes sense since I am very interested in the request/response lifecycle.) I think