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.
s/\./,/
It may be useful to use the perlocale manpage . He also has examples.