Re: ModPerl::MM or ExtUtils::MakeMaker or what?

2008-04-04 Thread imacat
On Thu, 3 Apr 2008 10:19:31 +0200 Torsten Foertsch <[EMAIL PROTECTED]> wrote: > I am asking because I have had FAIL reports from CPAN testers that don't > install ModPerl::MM. The way around these reports is using > BEGIN { > eval { > require ModPerl::MM; > require Apache::TestMM; > };

Re: ModPerl::MM or ExtUtils::MakeMaker or what?

2008-04-03 Thread Philippe M. Chiasson
Geoffrey Young wrote: Torsten Foertsch wrote: Hi, I am a bit confused about what MakeMaker is best to use with mp2 modules. There is the good old ExtUtils::MakeMaker that is mentioned in http://perl.apache.org/docs/general/testing/testing.html. How I got there I don't remember but I have us

Re: ModPerl::MM or ExtUtils::MakeMaker or what?

2008-04-03 Thread Geoffrey Young
Torsten Foertsch wrote: Hi, I am a bit confused about what MakeMaker is best to use with mp2 modules. There is the good old ExtUtils::MakeMaker that is mentioned in http://perl.apache.org/docs/general/testing/testing.html. How I got there I don't remember but I have used in all my modules M

Re: ModPerl::MM

2004-12-29 Thread David Wheeler
On Dec 28, 2004, at 2:36 PM, Stas Bekman wrote: Probably vice versa. It looks that Apache::TestMM does more than it should be doing. It should be handling only test/clean parts. Ah, and I just copied what was there to create Apache::TestMB. so you will be asking, right? Oh, okay, but not today. To

Re: ModPerl::MM

2004-12-29 Thread Stas Bekman
Perrin Harkins wrote: I'd like to put in a request at this point that no one use Module::Build for any mod_perl-related stuff until it comes with perl. I like Ken's work on it, and I appreciate how Module::Build makes interactive installs easier to write, but I don't want to ask people to install

Re: ModPerl::MM

2004-12-28 Thread Perrin Harkins
I'd like to put in a request at this point that no one use Module::Build for any mod_perl-related stuff until it comes with perl. I like Ken's work on it, and I appreciate how Module::Build makes interactive installs easier to write, but I don't want to ask people to install another module in orde

Re: ModPerl::MM

2004-12-28 Thread Stas Bekman
David Wheeler wrote: On Dec 28, 2004, at 2:17 PM, Stas Bekman wrote: David Wheeler wrote: why Apache::TestMB? It should be ModPerl::MB when it'll appear, right? Up to you. I used it as an example because I don't really understand how Apache::TestMM and ModPerl::MM interact. Apache::TestMM is onl

Re: ModPerl::MM

2004-12-28 Thread David Wheeler
On Dec 28, 2004, at 2:17 PM, Stas Bekman wrote: David Wheeler wrote: why Apache::TestMB? It should be ModPerl::MB when it'll appear, right? Up to you. I used it as an example because I don't really understand how Apache::TestMM and ModPerl::MM interact. Apache::TestMM is only needed only to add

Re: ModPerl::MM

2004-12-28 Thread Stas Bekman
David Wheeler wrote: why Apache::TestMB? It should be ModPerl::MB when it'll appear, right? Up to you. I used it as an example because I don't really understand how Apache::TestMM and ModPerl::MM interact. Apache::TestMM is only needed only to add 'make test' and adjust 'make clean' targets. w

Re: ModPerl::MM

2004-12-28 Thread David Wheeler
On Dec 28, 2004, at 1:53 PM, Stas Bekman wrote: 'perl' => 6.006, perl 6? :) Oops. :-) why Apache::TestMB? It should be ModPerl::MB when it'll appear, right? Up to you. I used it as an example because I don't really understand how Apache::TestMM and ModPerl::MM interact. why the fall

Re: ModPerl::MM

2004-12-28 Thread Stas Bekman
what if none exists, should Module::Install be used to require Module::Build? that's a tricky one. If ModPerl::MB is added, I suppose a Build.PL writer should still manually require Module::Build (version) and probably ensure that it's installed via Module::Install, correct? Then ModPerl::MB co

Re: ModPerl::MM

2004-12-28 Thread Stas Bekman
David Wheeler wrote: On Dec 28, 2004, at 1:26 PM, Stas Bekman wrote: it can't be any simpler: That wasn't the whole script, but I found it on search.cpan.org. Here's how to get it working with Module::Build right now: use strict; use warnings FATAL => 'all'; use Apache2; > use Apache::TestMB; #

Re: ModPerl::MM

2004-12-28 Thread David Wheeler
On Dec 28, 2004, at 1:26 PM, Stas Bekman wrote: it can't be any simpler: That wasn't the whole script, but I found it on search.cpan.org. Here's how to get it working with Module::Build right now: use strict; use warnings FATAL => 'all'; use Apache2; use Apache::TestMB; # prerequisites my %requir

Re: ModPerl::MM

2004-12-28 Thread Stas Bekman
David Wheeler wrote: On Dec 28, 2004, at 12:58 PM, Stas Bekman wrote: And if we do it the other way around, so you could take Apache-Filter-HTTPHeadersFixup (the latest is on cpan) add a plain Build.PL (as if there was no mp2) and then we can add the needed strings and design ModPerl::MB on the w

Re: ModPerl::MM

2004-12-28 Thread David Wheeler
On Dec 28, 2004, at 12:58 PM, Stas Bekman wrote: And if we do it the other way around, so you could take Apache-Filter-HTTPHeadersFixup (the latest is on cpan) add a plain Build.PL (as if there was no mp2) and then we can add the needed strings and design ModPerl::MB on the way? Yes, that should

Re: ModPerl::MM

2004-12-28 Thread Stas Bekman
[disconnect this thread from the unrelated noise] David Wheeler wrote: > On Dec 28, 2004, at 8:17 AM, Stas Bekman wrote: > >> Why not? I'm not familiar with Module::Build, but doesn't it make >> possible to subclass itself? Of course ModPerl::MB is only needed if >> there are 3rd party mp2 modules

Re: ModPerl::MM (was Re: Slashdot | Help Test mod_perl 2 Release Candidates)

2004-12-28 Thread David Wheeler
On Dec 28, 2004, at 8:17 AM, Stas Bekman wrote: Why not? I'm not familiar with Module::Build, but doesn't it make possible to subclass itself? Of course ModPerl::MB is only needed if there are 3rd party mp2 modules that use M::B. Are there any? May be David could write a skeleton for a dummy mod

Re: ModPerl::MM (was Re: Slashdot | Help Test mod_perl 2 Release Candidates)

2004-12-28 Thread Stas Bekman
Geoffrey Young wrote: at any rate, it's a big win for people writing mp2 stuff for CPAN, and I can see how M::B folks could take advantage of a similar tool. however, stas is right, that tool should be distributed with mp2 core so that developers have access to it. of course, once that's done we