http://www.perlmonks.org?node_id=114603
runrig has asked for the wisdom of the Perl Monks concerning the following question:

When you put a module on CPAN, it searches your distribution for any "*.pm" files and they are displayed when you search for any module in your distribution. What if you have a module in the distribution which is only used in the test suite (the 'make test'), and you'd rather not have them show up as actual modules for installation?

I'm opting for distributing the module with a ".pt" extension, then renaming it during the 'make test'. I'm wondering if there's a better way to do it, or just other options, if there's something I've missed from ExtUtils::MakeMaker or somewhere else... (The module is Parse::FixedLength if you're curious).

Update: This post is no longer relevant. CPAN no longer seems to list libraries in a sub-directory of the t directory.