[Milan-pm] Perl bug?

Max M minimal.oasis+milan-pm at gmail.com
Wed Dec 2 10:07:19 PST 2009


Trying to fix a strange behaviour in a script of mine, I found out
something very much resembling a bug.

The following code dies (either under perl 5.10 or 5.8).

        "a" =~ /./;   # [1]

        if ( not  "" =~ // ) {
            die "bug????"
        }

If line [1] is commented out, it no longer dies.

Max


More information about the Milan-pm mailing list