Re: suggestion about PerlRun

1999-11-01 Thread Yasushi Nakajima
Doug> the handler() in Apache::PerlRun was not originally indended to be Doug> subclassed. however, if somebody submits a patch to make is Doug> subclass-able that doesn't break the way Apache::PerlRun currently works, Doug> that would be fine. Following modified code works itself and as derived

Re: suggestion about PerlRun

1999-10-28 Thread Yasushi Nakajima
Ken> That's only one way of calling a handler. The other way is to use method Ken> handlers, which lets you inherit methods from base classes. See the Ken> documentation in mod_perl_method_handlers.pod for more info. I see at all. Thank you for your help. Sey Nakajima <[EMAIL PROTECTED]> Kyot

Re: suggestion about PerlRun

1999-10-27 Thread Yasushi Nakajima
On Wed, 27 Oct 1999 23:24:58 -0500 Ken Williams <[EMAIL PROTECTED]> wrote: Ken> I think a better solution would be to make PerlRun use real object-oriented Ken> thinking (method handlers), something like this: Ken> Ken> sub handler ($$) { Ken> my($class, $r) = @_; Ken> my $p

suggestion about PerlRun

1999-10-27 Thread Yasushi Nakajima
Hello All I have made a module derived from PerlRun. It overrides only readscript() method in PerlRun. First I wrote as follows (essencial part only) package Apache::PerlRunFake; use Apache::PerlRun; @ISA = qw(Apache::PerlRun); sub readscript { ... } *handler = \&