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

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

Thread Previous | Thread Next
From:
Leon Timmermans
Date:
March 22, 2013 17:01
Subject:
Re: [perl #117299] keys are readonly in perl 5.14.2!
Message ID:
CAHhgV8idz=77sE7p4kb=9W9OhTeXr+M-hDDGQ5+dH38=cv_U7w@mail.gmail.com
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.

Leon

Thread Previous | Thread Next


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