Re: Planning talk on Devel::Cover

2007-09-20 Thread Michael Carman
On 9/14/2007 3:50 PM, Paul Johnson wrote: > > Most of the infrastructure is in place for path coverage, but the data > isn't collected at the moment. Ooh, would that provide the data I need to fix the conditional coverage report? -mjc

Perl 5 Wiki Improvement Drive: Recommended Modules For Testing

2007-09-20 Thread Michael G Schwern
This week's Perl 5 Wiki topic improvement drive is... Recommended Modules For Testing http://www.perlfoundation.org/perl5/index.cgi?recommended_modules_for_testing Right now there's only TWO modules listed. I know a few people have written good testing modules out there. The

Re: So bewilderingly. about closure

2007-09-20 Thread Joshua ben Jore
On 9/20/07, demerphq <[EMAIL PROTECTED]> wrote: > The solution is to add a dummy line to f() to make sure that it mentions $x. > > { > my $x = 'A'; > sub f { my $y=$x; sub { print \$x; $x++ } } > sub g { sub { print \$x; $x++ } if $x } > } My experience was just a void

Re: So bewilderingly. about closure

2007-09-20 Thread Dave Mitchell
On Thu, Sep 20, 2007 at 11:48:15AM +0200, demerphq wrote: > On 9/20/07, flw <[EMAIL PROTECTED]> wrote: > > C:\>cat ttt.pl > > use strict; > > use warnings; > > > > { > > my $x = 'A'; > > sub f { sub { $x++ } } > > sub g { sub { $x++ } if $x } > > } > > > > my $F=f(); > > my $G=g(); > >

So bewilderingly. about closure

2007-09-20 Thread flw
C:\>cat ttt.pl use strict; use warnings; { my $x = 'A'; sub f { sub { $x++ } } sub g { sub { $x++ } if $x } } my $F=f(); my $G=g(); print $F->(),$G->(),"," for 1..4; print "\n"; C:\>ttt.pl 0A,1B,2C,3D, C:\>

Re: [ANNOUNCE] Test::Builder/More/Simple 0.72

2007-09-20 Thread Michael G Schwern
Ovid wrote: > For something as high profile as Test::Simple, it would get much more > exposure than most modules. Plus, there wasn't much in the changelog > which suggested this was a rush OMG Must Deliver Now sort of change (it > had been six months since the last release). I get a bug up my ass

Re: [ANNOUNCE] Test::Builder/More/Simple 0.72

2007-09-20 Thread Michael G Schwern
Ovid wrote: > --- Michael G Schwern <[EMAIL PROTECTED]> wrote: > >> Because of this I'm TEMPORARILY rolling the fix back at least a week >> to give >> CPAN authors a little breathing room to make their fixes. The fix is >> usually to plan in a BEGIN block. > > This has happened a couple of times

Re: So bewilderingly. about closure

2007-09-20 Thread demerphq
On 9/20/07, flw <[EMAIL PROTECTED]> wrote: > C:\>cat ttt.pl > use strict; > use warnings; > > { > my $x = 'A'; > sub f { sub { $x++ } } > sub g { sub { $x++ } if $x } > } > > my $F=f(); > my $G=g(); > > print $F->(),$G->(),"," for 1..4; > print "\n"; > > C:\>ttt.pl > 0A,1B,2C,3D, > > C:

Re: [ANNOUNCE] Test::Builder/More/Simple 0.72

2007-09-20 Thread chromatic
On Thursday 20 September 2007 00:15:31 Ovid wrote: > > In your experience, do devel versions get the kind of testing that > > would catch these issues sufficiently? > > > > In my experience, they don't. > > For something as high profile as Test::Simple, it would get much more > exposure than most

Re: [ANNOUNCE] Test::Builder/More/Simple 0.72

2007-09-20 Thread Ovid
--- chromatic <[EMAIL PROTECTED]> wrote: > On Wednesday 19 September 2007 22:46:19 Ovid wrote: > > > This has happened a couple of times now. Why don't you use release > > devel versions so that these issues become less serious in the > future? > > In your experience, do devel versions get the