develooper Front page | perl.perl5.porters | Postings from November 2003

Test::Harness on 5.6.2

Thread Next
From:
Elizabeth Mattijsen
Date:
November 14, 2003 06:33
Subject:
Test::Harness on 5.6.2
Message ID:
p05111b05bbda8ffa74ad@[192.168.56.3]
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

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?



Liz

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About