On Fri, Nov 14, 2003 at 04:24:06PM +0100, Rafael Garcia-Suarez wrote: > Elizabeth Mattijsen wrote: > > >"no warnings" in the test file ? "no if $] == 5.06002, 'warnings'" ? > > > > Nope. That doesn't do it. Try 5.006002. > > 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. > > In fact warnings are globally turned on by the -w on the shebang > line of t/forks02.t, now parsed by Test::Harness. Test::Harness always turns on warnings, whether its in the shebang line or not. This is the default for $Test::Harness::Switches. There was a bug for a while that kept $Switches from being honored. Anything else in the shebang line is added to $Switches. > So you can remove them either by BEGIN{$^W=0} or by removing that -w -X would be the way to do it. -- Michael G Schwern schwern@pobox.com http://www.pobox.com/~schwern/Thread Previous