but we can fix that, no? Apache::MyConfig was recently expanded to hold lots of stuff, so I see no reason why we can't extend it to cover what we need. at least as a fallback.
Sure, patches are welcome ;)
ok, I'll take a look at that sometime this week. it shouldn't be too hard.
Great!
But we still need to provide the coding for prompting for httpd location, since it's not in Apache::test API.
prompt? I hope that was just a slip :) I much prefer the current method (die with an error message) over the libapreq test method (wait indefinitely for an entry or ! to skip).
Nope, not a slip. If you install manually I agree that die is better than prompt. If you install with CPAN, which it seems the majority do, it's better to prompt, since it's not trivial to tell CPAN which options need to be supplied during 'perl Makefile.PL'.
You know what? I think we should educate the users to use env vars. The problem is that we have two mod_perl versions, so setting the APACHE env var is not a solution, since how do we set it for 2 versions. What I mean is, I'd like to have a set of env vars in my .profile/.cshrc/.whatever and never think twice, just selecting the version I want to build with. So I'd have:
env MOD_PERL=1 perl -MCPAN -eshell and env MOD_PERL=2 perl -MCPAN -eshell
if we could achieve that, it'd be fantastic. So may be we need to support APACHE and APACHE2, APXS and APXS2, so if we see MOD_PERL=2, we look for APACHE2 and APXS2 env vars.
I'm also still bothered with this MOD_PERL vs. MODPERL thing, we really need to stick to a single way to write it. (same for macros.)
at any rate, I guess there's lots to do. I'll get to my part and try to fill in the gaps as I can. especially as my OSCon talk (and upcoming perl.com article) is on Apache::Test :)
Oh, wow, that's cool! Hopefully I'll get the rest of the fixes in the next few days.
Also I'm planning to release Apache::Test on CPAN soon. What do you think?
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
