develooper Front page | perl.perl5.porters | Postings from December 2006

[perl #6006] Regexp replaces using large replacement variables fail some of

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez via RT
Date:
December 23, 2006 07:56
Subject:
[perl #6006] Regexp replaces using large replacement variables fail some of
Message ID:
rt-3.6.HEAD-1693-1166889374-1201.6006-14-0@perl.org
Actually the patch wasn't good, since it marked as non-constant too many
types of substitutions.
So I reverted it and committed another fix instead:

Change 29617 on 2006/12/23 by rgs@marais

        A better fix for RT #6006: revert change 29616, which was bogus,
        and add OP_SCOPE to the list of "dangerous" ops that might appear
        on the right side of s///.
        However, this fix does not work under taint mode, and op/subst.t
        has -T.

I added a corresponding TODO test (this bug is still present with -T).

Thread Previous | Thread Next


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