develooper Front page | perl.perl5.porters | Postings from November 2012

[perl #114820] Bleadperl v5.17.3-255-g6502e08 breaks SARTAK/Path-Dispatcher-1.04.tar.gz

Thread Previous
From:
Father Chrysostomos via RT
Date:
November 27, 2012 08:30
Subject:
[perl #114820] Bleadperl v5.17.3-255-g6502e08 breaks SARTAK/Path-Dispatcher-1.04.tar.gz
Message ID:
rt-3.6.HEAD-19245-1354033800-184.114820-15-0@perl.org
On Mon Sep 10 08:29:17 2012, davem wrote:
> On Sun, Sep 09, 2012 at 07:31:26PM -0700, Andreas J. Koenig via RT
> wrote:
> > ----------
> > commit 6502e08109cd003b2cdf39bc94ef35e52203240b
> > Author: David Mitchell <davem@iabyn.com>
> > Date:   Thu Jul 26 16:04:09 2012 +0100
> >
> >     Don't copy all of the match string buffer
> 
> [snip]
> > Can't call method "parent" on an undefined value at t/031-
> structured-match.t line 26.
> > t/031-structured-match.t .......
> > Dubious, test returned 255 (wstat 65280, 0xff00)
> 
> This is due to this line in Path/Dispatcher/Rule/Regex.pm:
> 
>     $extra{leftover} = eval q{$'};
> 
> which expects to be able to execute a regex where $' hasn't been seen
> yet,
> then afterwards to be able to retrieve its value. This used to happen
> to
> work, but can't be relied upon (and no longer works).

It does work as of 1a904fc8.

-- 

Father Chrysostomos


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

Thread Previous


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