On 12/23/2009 03:30:49 AM, Shlomi Fish wrote:
On Wednesday 23 Dec 2009 00:05:40 Ben Morrow wrote:
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
On Tue, 22 Dec 2009 22:05:40 +
Ben Morrow b...@morrow.me.uk wrote:
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.
+1
I often do similar; usually I'll have a t::TestFoo or
On Wednesday 23 Dec 2009 00:05:40 Ben Morrow wrote:
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
On Wed, Dec 23, 2009 at 1:30 PM, Shlomi Fish shlo...@iglu.org.il wrote:
What I normally do is put it under t/lib [...]
Module::Starter is an example of this. I believe Module::Build is, too.
This is cleaner than calling the module itself t::, as modules that start
with a lowercase letter
On Wednesday 23 Dec 2009 15:42:01 sawyer x wrote:
On Wed, Dec 23, 2009 at 1:30 PM, Shlomi Fish shlo...@iglu.org.il wrote:
What I normally do is put it under t/lib [...]
Module::Starter is an example of this. I believe Module::Build is, too.
Well, I am to blame for the t/lib modules in
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?
On Dec 22, 2009, at 10:33 PM, Geoffrey Leach wrote:
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?
Maybe persona.pm (from CPAN, by yours
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