How to format language based decimal separator numbers in Perl?

I am looking for a way to use language based decimal separator in my perl scripts. At the moment I do not see a better solution than just s/\./,/ in certain places, but it is ugly, and I would like to have a cleaner solution.

+4
source share
1 answer

It may be useful to use the perlocale manpage . He also has examples.

+5
source

All Articles