Bug#837398: mention $x=qr// overrides later /$x/<flags>

積丹尼 Dan Jacobson jidanni at jidanni.org
Sun Sep 11 10:41:21 UTC 2016


Package: perl-doc
Version: 5.22.2-3
Severity: wishlist
File: /usr/share/man/man1/perlop.1.gz

Within the
       "qr/STRING/msixpodualn"
discussion, do mention that one cannot then expect a later e.g., /i to work,
$ perl -wle 'my $r=qr/w/; print "W" =~ /$r/i ? "Yes" : "No";'
No

In fact maybe it should even print a warning...




More information about the Perl-maintainers mailing list