Skip Menu |

This queue is for tickets about the String-Defer CPAN distribution.

Report information
The Basics
Id: 73666
Status: resolved
Priority: 0/
Queue: String-Defer

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2
Fixed in: (no value)



Subject: Bleadperl v5.15.5-286-g83f78d1 breaks BMORROW/String-Defer-2.tar.gz
On Mon Jan 02 02:29:40 2012, ANDK wrote: Show quoted text
Here is a patch to work around the perl change. (BTW, I consider this a perl bug fix.)
Subject: open_mOJnXARm.txt
diff -rup String-Defer-2-yLF2Ll/t/ref.t String-Defer-2-yLF2Ll-copy/t/ref.t --- String-Defer-2-yLF2Ll/t/ref.t 2011-11-01 15:01:31.000000000 -0700 +++ String-Defer-2-yLF2Ll-copy/t/ref.t 2012-01-02 17:56:08.000000000 -0800 @@ -50,8 +50,14 @@ sub check { check \substr($targ, 1, 3), sub { $targ = "XfooX"; "foo" }, "\\substr()"; + my $expect = do { + my $targ2 = "X"; + my $substr = \substr $targ2, 1, 3; + $targ2 = "XXXXX"; + $$substr + }; $targ = "X"; - check \substr($targ, 1, 3), sub { $targ = "XXXXX"; "" }, + check \substr($targ, 1, 3), sub { $targ = "XXXXX"; $expect }, "\\substr(<outside>)"; }
Subject: Re: [rt.cpan.org #73666] Bleadperl v5.15.5-286-g83f78d1 breaks BMORROW/String-Defer-2.tar.gz
Date: Tue, 3 Jan 2012 02:46:09 +0000
To: Father Chrysostomos via RT <bug-String-Defer [...] rt.cpan.org>
From: Ben Morrow <ben [...] morrow.me.uk>
At 8PM -0500 on 2/01/12 you (Father Chrysostomos via RT) wrote: Show quoted text
> > Here is a patch to work around the perl change.
Thank you. I'll upload a fixed version when I get to it. Show quoted text
> (BTW, I consider this a perl bug fix.)
Me too. Ben
I've just uploaded v3, which resolves this.