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

Re: Test::Harness on 5.6.2

Thread Previous | Thread Next
Elizabeth Mattijsen
November 14, 2003 06:52
Re: Test::Harness on 5.6.2
Message ID:
At 15:40 +0100 11/14/03, Rafael Garcia-Suarez wrote:
>  > 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'" ?

Nope.  That doesn't do it.

And I'm not so much worried about the test-suite: I can put an 
advisory message about that when it runs.  It's about "normal" 
operation that I'm worried about.

If it's not possible, I'll just need to add some blurb to the pod 
about it and release a new version of on CPAN.  No problem. 
Would be nice though if wouldn't clog up any log files 
anywhere when it's not needed.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About