(retracted by #12437)
Kay Röpke [Sat, 13 Oct 2001 20:33:55 +0000 (22:33 +0200)]
Subject: [PATCH lib/ExtUtils/MM_Unix.pm] MakeMaker tries to parse commented out $VERSION
Message-Id: <E15sTbe-0001nt-00@mrvdom04.kundenserver.de>

p4raw-id: //depot/perl@12436

lib/ExtUtils/MM_Unix.pm

index e6c6766..7392012 100644 (file)
@@ -2787,6 +2787,7 @@ sub parse_version {
        next if $inpod || /^\s*#/;
        chop;
        # next unless /\$(([\w\:\']*)\bVERSION)\b.*\=/;
+       next if /^\s*?\#/;
        next unless /([\$*])(([\w\:\']*)\bVERSION)\b.*\=/;
        my $eval = qq{
            package ExtUtils::MakeMaker::_version;