> and it balked. no problem, the Makefile.PL just needs some tweaking.
>
> and, as it turns out, I spent the morning doing the same for
> Apache-SizeLimit. so, I'd suggest looking at the following files
>
> Makefile.PL
> t/apache/all.t
This looks very similar to the CaptchasDotNet code, with the exception
of generate_script which uses Apache::TestRunPerl instead.
In t/apache/all.t, does this line mean 'need apache',
or 'need apache 1.xx'?
$ok &= need_apache(1);
> so, unless you want a ton of bugreports, or you want CPAN.pm to fail,
> you need to take some extra steps. see also WebService-CaptchasDotNot
> (another one of my modules) that similarly tweaks stuff.
I've modified the Makefile.PL to use the MY:: overrides. Interesting
that WebService-CaptchasDotNet uses Apache::TestRun->generate_script
which didn't work for me, I had to use Apache::TestMM::generate_script.
I checked this in late last night and the subversion email didn't go
out, looks like SF was doing some maintenance.
http://svn.sourceforge.net/viewcvs.cgi/apache-dispatch/trunk/Makefile.PL?r1=40&r2=48
> not to add extra work, but if you have the tuits. really, it's all a
> matter of how nice you want to be to your users.
No problem, reclaiming some more tuits, so if this still looks like it
needs tweaks let me know - happy to do them :)
http://www.redhotpenguin.com/Apache-Dispatch-0.10.tar.gz
|