Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
scalar //g match on overloaded object causes string corruption #10534
The output varies, but it’s usually something like:
$VAR1 = "\t\0\0\0\263\337!";
Site configuration information for perl 5.13.3:
Configured by sprout at Sat Jul 31 05:50:29 PDT 2010.
Summary of my perl5 (revision 5 version 13 subversion 3 patch v5.13.3-140-g79504a3) configuration:
Locally applied patches:
@INC for perl 5.13.3:
Environment for perl 5.13.3:
On Sun, Aug 08, 2010 at 02:36:31PM -0700, Father Chrysostomos wrote:
I can confirm this.
Included a TODO test for this in commit a9f6cb1.
On Thu, Aug 19, 2010 at 06:38:08PM +0200, Abigail wrote:
This is now partially fixed with commit
More to the point, this fixes the original bug report, but doesn't pass
I think this is correct behaviour and that the third test is wrong.
PS Abigail: why was a new test file created for this rather than just
On Wed, Sep 01, 2010 at 05:16:07PM +0100, Dave Mitchell wrote:
You are right. I've fixed this by setting pos ($o) = 0 after
No particular reason. I was looking for an appropriate test file in t/re,