develooper Front page | perl.perl5.porters | Postings from August 2001

Re: [ID 20010827.008] no-foo options broken in B::Lint

Thread Previous
From:
Arthur Bergman
Date:
August 28, 2001 02:13
Subject:
Re: [ID 20010827.008] no-foo options broken in B::Lint
Message ID:
B7B12D3D.35AB%arthur@contiller.se
01-08-28 01.22, skrev Skyttä Ville på scop@cs132170.pp.htv.fi följande:

> This is a bug report for perl from ville.skytta@popsystems.com,
> generated with the help of perlbug 1.28 running under perl v5.6.0.
> 
> 
> -----------------------------------------------------------------
> [Please enter your report here]
> 
> Turning off some lint check categories does not work in B::Lint
> as documented due to a small bug. The patch below fixes it.
> At least 5.005_03, 5.6.0 and 5.7.2 are affected.
> 
> --- Lint.pm.orig Tue Aug 28 00:56:40 2001
> +++ Lint.pm Tue Aug 28 00:57:03 2001
> @@ -345,7 +345,7 @@
> %check = ();
> }
> else {
> -     if ($opt =~ s/^no-//) {
> +     if ($opt =~ s/^no_//) {
> $check{$opt} = 0;
> }
> else {
> 
> 

Thanks, could we get a testcase for this aswell?

(Applied in bleadperl)

-- 
Arthur


Thread Previous


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