Return-Path: Delivered-To: apmail-httpd-test-dev-archive@www.apache.org Received: (qmail 3394 invoked from network); 16 Jan 2004 21:28:20 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 16 Jan 2004 21:28:20 -0000 Received: (qmail 27784 invoked by uid 500); 16 Jan 2004 21:28:09 -0000 Delivered-To: apmail-httpd-test-dev-archive@httpd.apache.org Received: (qmail 27673 invoked by uid 500); 16 Jan 2004 21:28:08 -0000 Mailing-List: contact test-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: test-dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list test-dev@httpd.apache.org Received: (qmail 27660 invoked from network); 16 Jan 2004 21:28:08 -0000 Received: from unknown (HELO secure.exclamationlabs.net) (66.77.29.186) by daedalus.apache.org with SMTP; 16 Jan 2004 21:28:08 -0000 Received: from modperlcookbook.org (pcp05675728pcs.walngs01.pa.comcast.net [69.139.161.218]) (authenticated (0 bits)) by secure.exclamationlabs.net (8.11.6/8.11.6) with ESMTP id i0GLSEu32069 for ; Fri, 16 Jan 2004 15:28:14 -0600 Message-ID: <4008575F.3060802@modperlcookbook.org> Date: Fri, 16 Jan 2004 16:27:59 -0500 From: Geoffrey Young User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en MIME-Version: 1.0 To: test-dev@httpd.apache.org Subject: Re: Perl test framework, TestConfig, and debugging A::T References: <20040115031839.GH27102@knowmad.com> <400619DD.5020207@stason.org> <20040115045730.GK27102@knowmad.com> <4006F187.6090103@stason.org> <40072F49.9000400@stason.org> <40073997.1060307@stason.org> <20040116182532.GG27102@knowmad.com> <400834FB.3020808@modperlcookbook.org> <20040116191730.GJ27102@knowmad.com> <40083BE5.1050109@modperlcookbook.org> <20040116211319.GN27102@knowmad.com> In-Reply-To: <20040116211319.GN27102@knowmad.com> X-Enigmail-Version: 0.71.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > Just starting to review this module but have a quick question about the > layout. Why is the perl module in t/My/Bug.pm and not in lib/My/Bug.pm? > In most projects, the modules to be tested are in lib/, no? the module was made specifically for mod_perl bug reporting - mod_perl adds ServerRoot (t/ in this case) to @INC, which is why My::Bug is found. but you're right, for normal module integration you would want it in lib/. so, just slide it on over to lib/My/Bug.pm (and remove the old one) and everything would work just as it did before (tested :) > > Also, when running `perl Makefile.PL`, I get an error that Apache2 is > not in my @INC. I cannot install this module directly via CPAN and don't > see a need for it in an Apache 1.x environment so have removed it from > the Makefile.PL. sorry about that - the mp1 package was a copy of the mp2 package and I forgot to remove it. you can just take it out, but I've updated the package online as well. --Geoff