This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[ID 20010827.008] no-foo options broken in B::Lint
authorVille Skyttä <scop@cs132170.pp.htv.fi>
Tue, 28 Aug 2001 02:22:20 +0000 (05:22 +0300)
committerArtur Bergman <sky@nanisky.com>
Tue, 28 Aug 2001 08:09:16 +0000 (08:09 +0000)
Message-Id: <200108272322.f7RNMKd02261@cs132170.pp.htv.fi>

p4raw-id: //depot/perl@11769

ext/B/B/Lint.pm

index 094b3cf..f5186f1 100644 (file)
@@ -345,7 +345,7 @@ sub compile {
            %check = ();
        }
        else {
-           if ($opt =~ s/^no-//) {
+           if ($opt =~ s/^no_//) {
                $check{$opt} = 0;
            }
            else {