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

Re: [perl #117299] keys are readonly in perl 5.14.2!

Thread Previous
From:
demerphq
Date:
March 22, 2013 17:18
Subject:
Re: [perl #117299] keys are readonly in perl 5.14.2!
Message ID:
CANgJU+VfMdgZzQPwxqy_gWsT30mBFnkUmyLwzqDUFsY1GQGJLg@mail.gmail.com
On 22 March 2013 18:01, Leon Timmermans <fawaka@gmail.com> wrote:
> On Fri, Mar 22, 2013 at 5:58 PM, demerphq <demerphq@gmail.com> wrote:
>> Ah. I see. So the bug is in HTML::Entities.
>>
>> The actual code that kicked this off was this:
>>
>> $ booking-perl5.14.2 -MDevel::Peek -MHTML::Entities -le'print $]; my
>> %hash=("A".."D"); @x= sort keys %hash; decode_entities($x[0]);'
>> 5.014002
>> Can't inline decode readonly string at -e line 1.
>
> This is a perfect example of one of those reasons why
> SV_CHECK_THINKFIRST was already necessary before the recent COW work.

So all Gisle has to do is call that?

I filed this ticket with the distro:

https://rt.cpan.org/Ticket/Display.html?id=84144

Yves



-- 
perl -Mre=debug -e "/just|another|perl|hacker/"

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