On Mon, Nov 25, 2002 at 03:09:40PM -0800, David Wheeler wrote: > On Monday, November 25, 2002, at 01:49 AM, Graham Barr wrote: > > >>> Is t/ the only directory? It would be nice to leave t/ for tests. > >>> > >>> Is the indexer documented someplace? I was having trouble with it > >>> parsing the version number of one of my modules. > > > > I don't know about the indexer on PAUSE, but search.cpan.org does > > not look inside t/ but it does index all other modules it finds. > > Okay, I'm moving it all into t/lib, but that means that I now have this > in Makefile.PL: > > use lib 't/lib'; > > This ain't portable, of course. I can use File::Spec, but then it > becomes required, too, and would likely have to be included in the > distribution, since Makefile.PL will use it before it uses > WriteMakefile(PREREQ_PM). It has been in the core since 5.6.0, IIRC. > How do people feel about this?
If the inclusion of modules in distributions is common and t/ is not acceptable then a common place should be agreeded. I almost suggested this recently with the release of CPAN::MakeMaker which depends on . being in @INC. But it has the side affect that everyone will have CPAN::MakeMaker in thier dist on search. Graham.
