Elizabeth Mattijsen wrote: > > It looks like Test::Harness is upgraded on 5.6.2, but that it > contains the 5.8.1 version rather than the 5.8.2 version: > > $ perl5.6.0 -MTest::Harness -e 'print "$Test::Harness::VERSION\n"' > 1.1604 > (don't have 5.6.1 handy) > $ perl5.6.2 -MTest::Harness -e 'print "$Test::Harness::VERSION\n"' > 2.30 > $ perl5.8.1 -MTest::Harness -e 'print "$Test::Harness::VERSION\n"' > 2.30 > $ perl5.8.2 -MTest::Harness -e 'print "$Test::Harness::VERSION\n"' > 2.32 blead comes with Test::Harness 2.30. As I don't do maint-5.8 (ECANTDOEVERYTHING) I didn't caught up with it. CPAN has Test::Harness 2.34. Nicholas, why does 5.8.2 contain a newer module than bleadperl ? Should I update Test::Harness in blead and 5.6 ? and to which version ? > The updated Test::Harness is now causing warnings to be displayed in > the test-suite of forks.pm. I've taken out one warning of each type > with the associated source line: > > SCALAR package attribute may clash with future reserved word: shared > at t/forks01.t line 192 > my $bar : shared; > > Unquoted string "threads" may clash with future reserved word at > t/forks02.t line 34. > push( @thread,threads->new( sub {... > > > Earlier versions of Test:::Harness didn't enable warnings, so these > were probably masked before. > > Is there a way for me to stop these warnings to occur when warnings > are activated? "no warnings" in the test file ? "no if $] == 5.06002, 'warnings'" ?Thread Previous | Thread Next