On Mon, Aug 30, 2004 at 04:47:01PM -0700, Darren Duncan wrote: > > More than one of my pure-Perl CPAN distributions contains extra .pm > files which are only used during 'make test', but I have so far had > to put them in my 'lib' directory with the normal modules so that > they can be seen during 'make test. However, this pollutes my 'lib' > directory un-necessarily, as well as the user's install dirs, as the > distro would install the test libraries too. I would like to get > these for-testing modules to sit in the 't' directory, where the main > test scripts are. > > I would like the file layout to be like this instead: > > t/Locale_KeyedText.t > t/lib/t_Locale_KeyedText_A_L_Eng.pm > t/lib/t_Locale_KeyedText_B_L_Fre.pm > > My searches to the ExtUtils::MakeMaker documentation did not reveal > any options that would let me do what I wanted with simplicity.
I don't think you need an option. Just put the files there and add a "use lib ...;" to the *.t files. Tim.
