passing an object to a handler

2002-10-02 Thread william ross
hello, I've been off-list for a while, so please forgive (and direct) me if this is a tired subject. In short, i'd like to pass through another object on method invocation, in addition to the apache request. Ideally the (method)handler would look something like: sub handler ($$$) {

Re: passing an object to a handler

2002-10-02 Thread Per Einar Ellefsen
At 20:47 02.10.2002, william ross wrote: hello, I've been off-list for a while, so please forgive (and direct) me if this is a tired subject. In short, i'd like to pass through another object on method invocation, in addition to the apache request. Ideally the (method)handler would look

Re: passing an object to a handler

2002-10-02 Thread william ross
On Wednesday, October 2, 2002, at 08:18 PM, Per Einar Ellefsen wrote: At 20:47 02.10.2002, william ross wrote: but I can't find anything to tell me how to do it. I feel sure I'm missing something really obvious here? You can configure objects instead of using static class names. See the

Re: passing an object to a handler

2002-10-02 Thread Per Einar Ellefsen
At 21:30 02.10.2002, william ross wrote: On Wednesday, October 2, 2002, at 08:18 PM, Per Einar Ellefsen wrote: At 20:47 02.10.2002, william ross wrote: but I can't find anything to tell me how to do it. I feel sure I'm missing something really obvious here? You can configure objects instead

Re: passing an object to a handler

2002-10-02 Thread william ross
On Wednesday, October 2, 2002, at 08:37 PM, Per Einar Ellefsen wrote: At 21:30 02.10.2002, william ross wrote: On Wednesday, October 2, 2002, at 08:18 PM, Per Einar Ellefsen wrote: At 20:47 02.10.2002, william ross wrote: but I can't find anything to tell me how to do it. I feel sure I'm

Re: passing an object to a handler

2002-10-02 Thread william ross
On Wednesday, October 2, 2002, at 09:11 PM, Dave Rolsky wrote: On Wed, 2 Oct 2002, william ross wrote: sorry: i wasn't very clear, was I? I am using a method handler, but I want to pass an object of another class to it each time it is called. The object needs to be created outside of an

Re: passing an object to a handler

2002-10-02 Thread Dave Rolsky
On Wed, 2 Oct 2002, william ross wrote: I did have it set up that way at one point. it worked quite nicely as long as I made the singleton in a subclass of the main Factory (which might be shared by several applications with different configurations). i gave up on it in the end because it

Re: passing an object to a handler

2002-10-02 Thread william ross
On Wednesday, October 2, 2002, at 09:48 PM, Dave Rolsky wrote: On Wed, 2 Oct 2002, william ross wrote: I did have it set up that way at one point. it worked quite nicely as long as I made the singleton in a subclass of the main Factory (which might be shared by several applications with