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

Re: Perl 5.20.0 Blockers, 2014-03-24

Thread Previous | Thread Next
From:
Mark Overmeer
Date:
March 31, 2014 07:36
Subject:
Re: Perl 5.20.0 Blockers, 2014-03-24
Message ID:
20140331073613.GR5163@moon.overmeer.net
* Slaven Rezic (slaven@rezic.de) [140331 06:16]:
> Your argue that these modules are broken if POSIX::setlocale is used. I
> would say that POSIX::setlocale itself is broken (or the whole locale
> concept in Unix).

I fully agree with you, Slaven.

Any idea how expensive it is to change the locale in a program?  I use
the locale to switch between the supported languages (to also have floats,
and error message in the right language) of a website.  Will there be some
caching of set-ups?  And do we need to preload languages before the fork()
Never noticed performance problems... but computers are quite fast...

By the way, I already have seen problems with the JSON module, which
formatted floats with comma's... that breaks the syntax.  This will hurt
applications, which are usually not on CPAN.
-- 
Regards,

               MarkOv

------------------------------------------------------------------------
       Mark Overmeer MSc                                MARKOV Solutions
       Mark@Overmeer.net                          solutions@overmeer.net
http://Mark.Overmeer.net                   http://solutions.overmeer.net


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