----- Original Message ---- > From: David E. Wheeler <da...@kineticode.com> > To: Ovid <publiustemp-perl...@yahoo.com> > Cc: perl-qa@perl.org > Sent: Monday, 29 June, 2009 17:38:15 > Subject: Re: Subtest fail with singletons > > On Jun 29, 2009, at 2:19 AM, Ovid wrote: > > > my $Test = Test::Builder->new; > > > > If every test function simply had that line in the function, rather than > trying to share this across all test functions, the code would work fine. > > > > Not sure of the best way of handling this, but it's annoying as heck :( > > Submit a bug report for Test::XML and Test::JSON with a test case > demonstrating > the issue?
And Test::Exception and many, many other Test:: modules. It's a very common pattern and getting all authors to agree to fix those modules is a dubious strategy, I think. Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog - http://use.perl.org/~Ovid/journal/ Twitter - http://twitter.com/OvidPerl Official Perl 6 Wiki - http://www.perlfoundation.org/perl6