[ID 20010827.008] no-foo options broken in B::Lint
Ville Skyttä [Tue, 28 Aug 2001 02:22:20 +0000 (05:22 +0300)]
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 {