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

Re: Perl 5.20.0 Blockers, 2014-03-24

Thread Previous | Thread Next
Mark Overmeer
March 31, 2014 07:36
Re: Perl 5.20.0 Blockers, 2014-03-24
Message ID:
* Slaven Rezic ( [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.


       Mark Overmeer MSc                                MARKOV Solutions                         

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About