On 16/05/14 08:24, John Dunlap wrote: > If I may ask a potentially stupid question, what are you attempting to do > which necessitates the use of Apache2::Directive?
I am randomly thrashing around trying to get started with the mod_perl API. More accurately I was. I have my bearings now and am making some progress. I have used the API today to get document_root (thank-you j...@lariat.co) and to filter by IP. cheers Worik > > > On Wed, May 14, 2014 at 5:01 PM, Worik Stanton <worik.stan...@gmail.com>wrote: > >> On another matter... >> >> On 15/05/14 05:16, Perrin Harkins wrote: >>> simpler things like PerlSetVar. There is an automated test for this >>> though: >>> >> http://cpansearch.perl.org/src/PHRED/mod_perl-2.0.8/t/response/TestApache/conftree.pm >> >> I have not used this testing frame work before (other than watch tests >> go by during the build process). >> >> I looked up http://perl.apache.org/docs/general/testing/testing.html but >> there does not seem to be a tutorial to get started. Where is the >> documentation that shows how to arrange the files and run these tests? >> >> I tried creating a directory t/ and t/TestApache and put conftree.pm >> into TestApache and created a file contree.pl which used >> TestApache::conftree >> >> (I had to add a "1;" to the last line of conftree.pm which was an >> indication I was on the wrong track). >> >> I then called TestApache::conftree->new(@ARGV)->run(); >> >> Anyway clearly I am doing the wrong thing, no matter how natural it >> seems and I need some help to get on the right track >> >> cheers >> Worik >> >> -- >> The only true evil is turning people into things.... >> Granny Weatherwax >> worik.stan...@gmail.com 021-1680650, (03) 4821804 >> Aotearoa (New Zealand) >> >> > -- The only true evil is turning people into things.... Granny Weatherwax worik.stan...@gmail.com 021-1680650, (03) 4821804 Aotearoa (New Zealand)
signature.asc
Description: OpenPGP digital signature