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

Re: Test::Harness on 5.6.2

Thread Previous | Thread Next
From:
Elizabeth Mattijsen
Date:
November 14, 2003 06:52
Subject:
Re: Test::Harness on 5.6.2
Message ID:
p05111b00bbda9bc237a3@[192.168.56.3]
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 forks.pm on CPAN.  No problem. 
Would be nice though if forks.pm wouldn't clog up any log files 
anywhere when it's not needed.


Liz

Thread Previous | 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