develooper Front page | perl.perl5.porters | Postings from April 2010

[perl #74420] Micro 5.12 regression: regexes introduced in feature.pm

From:
Ævar Arnfjörð Bjarmason
Date:
April 16, 2010 11:05
Subject:
[perl #74420] Micro 5.12 regression: regexes introduced in feature.pm
Message ID:
rt-3.6.HEAD-6227-1271414365-1135.74420-75-0@perl.org
# New Ticket Created by  "Ævar Arnfjörð Bjarmason" 
# Please include the string:  [perl #74420]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=74420 >


In 7be54ea7d51824e3590034a7880ff325459e8d52 I removed regexes in
feature.pm so that you wouldn't get irrelevant output on:

    perl -Mre=debug -E '/foo/';

In 82cfb3a2c3500989056cbc46cb030c206fcb3602 these were added again.

It would be nice to either remove them or solve this properly. Why
does the hints hash propagate in cases like these:

    use re 'debug';
    use feature ':5.10';
    qr/foo/;

Maybe feature.pm could just use C<no re 'debug'>, but that would load
re.pm redundantly on any use of -E.




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About