httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: Apache-Test/Makefile.PL r105822
Date Mon, 13 Dec 2004 18:47:57 GMT
Geoffrey Young wrote:
>>doesn't seem to be right. sub is a compile time directive, so putting it
>>in a conditional doesn't prevent from it being compiled:
> indeed.  guess I wasn't thinking, which seems to be happening lots lately.

No worries :) There is a way too many things to think about.

>>Moreover it now introduces a warning in mp2 build
>>Subroutine MY::libscan redefined at ./Makefile.PL line 148.
> ugh.
>>so we need to do the usual ugly workaround for MM :(
> usual?

I mean usual MM namespace workarounds, not specific to A-T :(

>>Can you fix those? I can do it if you don't have the time.
> well, I don't really have the time, but since it's my problem I'll take care
> of it.  that is, if you can tell me exactly what needs to be done - I would
> probably just put the if logic inside the sub, but I suspect there needs to
> be more than that for mod_perl's sake?

to make the sub definition runtime, you just use:

   *MY::foo = sub ...;

but unrelated we need to workaround with colliding identical function in mp2.

I'll take care of it.

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

View raw message