Subject: | Broken in perl-5.13.3 |
Heya,
Thanks for a fab module! However, it no longer compiles under 5.13.3:
Name.xs:90: error: lvalue required as left operand of assignment
Line 90 is:
CvGV(cv) = gv;
The perldelta says:
Under some circumstances, the C<CvGV()> field of a CV is now reference
counted. To ensure consistent behaviour, direct assignment to it, for
example C<CvGV(cv) = gv> is now a compile-time error. A new macro,
C<CvGV_set(cv,gv)> has been introduced to perform this operation safely.
Note that modification of this field is not part of of the public API,
regardless of this new macro. This change caused some
L<issues|/"Known Problems"> in modules that used the private C<GvGV()>
field.
And
http://code.activestate.com/lists/perl5-porters/153869/
implies that Dave has sent you a patch, but I couldn't see it on RT thus
I have added it for now. Hope that's fine.
Cheers, Leon.