On Mon, 1 Nov 1999, James G Smith wrote:
> I have some code working, but I'm curious as to why it has to work in the
> way it does. The code:
>
> package My::TAMU;
>
> sub handler ($$) {
> my $class = shift;
> my $r = shift;
>
> if($r->current_callback eq "PerlHandler" || # this one makes sense
> $r->current_callback eq "PerlFixupHandler") { # but why this one?
$r->current_callback is store in a global, set to PerlHandler when
entered, but then the setup of %ENV does a subrequest, and sets the global
to PerlFixupHandler in doing so. this bug will be fixed in 1.22