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. LizThread Previous | Thread Next