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

Re: Comment period extended for Unicode's changing some commoncharacters from Punctuation to Symbol

Thread Previous | Thread Next
From:
David Golden
Date:
November 30, 2012 00:22
Subject:
Re: Comment period extended for Unicode's changing some commoncharacters from Punctuation to Symbol
Message ID:
CAOeq1c-Yf4XWNWvFhs0OdxunRuSLjAq20yo42yBv1u9cASSPCg@mail.gmail.com
On Thu, Nov 29, 2012 at 12:58 PM, Leon Timmermans <fawaka@gmail.com> wrote:
>> * How can we let programs introspect the version of Unicode that Perl provides?
>
> That information is currently already available in Module::Corelist.

My first reaction was "that's fine for users, but not for code".  Who
wants to load all of M::C just to check that?

My second reaction is shock that we're using M::C for that at all,
since it's not actually a module.

>> * Is it possible to make any of this pluggable, so a program could
>> specify which version of Unicode classes they want to use?
>
> How do you scope that? Specially with things like qr//.

I was thinking globally for the interpreter.  "Run 5.16, but still use
the Unicode 5.X char classes".  But as Karl points out, it's a no-go.
It's another exception in the idea that "use v5.14" means you should
get Perl v5.14 semantics when running later Perls.

David

-- 
David Golden <xdg@xdg.me>
Take back your inbox! → http://www.bunchmail.com/
Twitter/IRC: @xdg

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