On Thu, 28 Oct 1999, Yasushi Nakajima wrote:
> 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 = \&Apache::PerlRun::handler;
>
> But Apache::PerlRun::handler() inclueds following code.
>
> my $pr = Apache::PerlRun->new($r);
the handler() in Apache::PerlRun was not originally indended to be
subclassed. however, if somebody submits a patch to make is
subclass-able that doesn't break the way Apache::PerlRun currently works,
that would be fine.