develooper Front page | perl.perl5.porters | Postings from August 2013

[perl #45667] m/[#]/x treated inconsistently

From:
Father Chrysostomos via RT
Date:
August 13, 2013 03:10
Subject:
[perl #45667] m/[#]/x treated inconsistently
Message ID:
rt-3.6.HEAD-2552-1376363426-425.45667-15-0@perl.org
On Mon Jun 24 06:50:43 2013, davem wrote:
> On Sat, Jun 22, 2013 at 07:03:17PM -0700, Father Chrysostomos via RT
wrote:
> > So this is a bigger can of worms than anyone thought.  Perhaps the real
> > fix is for the regexp engine to call back to the parser when it sees
> > what it thinks is a variable.  Dave Mitchell is not going to like what I
> > am suggesting. :-)
> 
> Um, lets not do that!

In that case we will have to accept that only literal # can prevent
interpolation.  The remainder of this bug (the original report) was
fixed by c30fc27b4df65a, and I have just added tests in 61965f1.

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=45667



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