develooper Front page | perl.perl5.porters | Postings from April 2012

Re: unicode question

Thread Previous | Thread Next
From:
Karl Williamson
Date:
April 26, 2012 07:17
Subject:
Re: unicode question
Message ID:
4F9958E4.3080408@khwilliamson.com
On 04/26/2012 02:26 AM, Linda W wrote:
>>
>> (3) refers to the fixing (when C<< use feature 'unicode_strings'; >>
>> is used) of most instances of a collection of bug in Perl known as
>> "The Unicode Bug".
>>
>> They are not related.
>
> What I didn't understand was why is it fixed in 5.14 but with a use 5.12
> statement?
>
> I.e. wasn't it fixed in 5.12?  If it wasn't fixed until 5.14, then why isn't
> it a use 5.14 that triggers the new behavior?

feature 'unicode_strings' is part of the use v5.12 feature bundle.  Not 
all the fixes that it includes were ready in time for 5.12.  The 
decision was made to put into 5.12 the ones that were ready, and to not 
split the functionality into multiple features, with multiple names.

When you say 'use feature :5.12', you get whatever portion of 
unicode_strings is implemented on the current version of Perl that you 
are running.  5.16 is extending it even more, to change the behavior of 
quotemeta.

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