Quoth ge...@hughes.net (Geoffrey Leach):
> I'm working on a new release of Getopt::Auto. There's a fair amount of 
> code in the module that applies only to the tests. It would be nice if 
> that code was not in the installed module. Any suggestions?

Given that Perl allows you to put code in any package from any module,
can you just have a module in your t/ dir that implements the testing
hooks? Personally I like to put such modules in the t:: namespace, since
tests are always run from the module build directory, so I might call it
t::Hooks or some such.

Ben

Reply via email to